public class FloatingPointMismatchFilter extends Object implements Assertions.MismatchFilter
IGNORE_SORT_ORDER, NO_FILTER| Constructor and Description | 
|---|
| FloatingPointMismatchFilter(FloatingPointTolerance tolerance,
                           String separator)Declares a filter using the specified tolerance range. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | ignoreMismatch(String expected,
              String actual)Indicates whether the specified mismatch should be ignored
 for comparison purposed. | 
| boolean | ignoreSortOrder()Indicates whether the filter should ignore sort order | 
public FloatingPointMismatchFilter(FloatingPointTolerance tolerance, String separator)
tolerance - the permitted degree of error in valuesseparator - the character sequence separating field valuespublic boolean ignoreMismatch(String expected, String actual)
Assertions.MismatchFilterignoreMismatch in interface Assertions.MismatchFilterexpected - the expected lineactual - the actual line foundtrue if the mismatch is not significant,
 false if it is.public boolean ignoreSortOrder()
Assertions.MismatchFilterignoreSortOrder in interface Assertions.MismatchFilterCopyright © 2016 Actian Corporation. All rights reserved.