Class FloatingPointMismatchFilter

java.lang.Object
com.pervasive.datarush.test.FloatingPointMismatchFilter
All Implemented Interfaces:
AssertionsUtil.MismatchFilter

public class FloatingPointMismatchFilter extends Object implements AssertionsUtil.MismatchFilter
A filter for handling mismatches in floating point values. Errors within a specified tolerance are ignored.
  • Constructor Details

    • FloatingPointMismatchFilter

      public FloatingPointMismatchFilter(FloatingPointTolerance tolerance, String separator)
      Declares a filter using the specified tolerance range. The line is assumed to consist of floating point values separated by the given separator.
      Parameters:
      tolerance - the permitted degree of error in values
      separator - the character sequence separating field values
  • Method Details