Uses of Interface
com.pervasive.datarush.operators.assertion.FloatingPointTolerance
-
Packages that use FloatingPointTolerance Package Description com.pervasive.datarush.operators.assertion Provides operators for making assertions on flows and files.com.pervasive.datarush.test Provides tools useful for testing DataRush applications. -
-
Uses of FloatingPointTolerance in com.pervasive.datarush.operators.assertion
Classes in com.pervasive.datarush.operators.assertion that implement FloatingPointTolerance Modifier and Type Class Description class
AbsoluteErrorBound
Checks equivalence based on the absolute error between two floating point numbers.class
ExactTolerance
Check equivalence based on an exact match.class
RelativeErrorBound
Checks equivalence based on the relative error between two floating point numbers.class
UlpDistanceBound
Checks equivalence based on the distance between two floating point numbers in units of least precision (ULP).Fields in com.pervasive.datarush.operators.assertion declared as FloatingPointTolerance Modifier and Type Field Description static FloatingPointTolerance
FloatingPointTolerance. EXACT
A tolerance requiring exact value equivalence.Methods in com.pervasive.datarush.operators.assertion that return FloatingPointTolerance Modifier and Type Method Description FloatingPointTolerance
AssertEqual. getErrorTolerance()
Get the error tolerance property for floating point values.Methods in com.pervasive.datarush.operators.assertion with parameters of type FloatingPointTolerance Modifier and Type Method Description void
AssertEqual. setErrorTolerance(FloatingPointTolerance errorTolerance)
Set the error tolerance for floating point values.Constructors in com.pervasive.datarush.operators.assertion with parameters of type FloatingPointTolerance Constructor Description AssertEqual(FloatingPointTolerance errorTolerance, int logFrequency)
Construct the operator with the given property values. -
Uses of FloatingPointTolerance in com.pervasive.datarush.test
Methods in com.pervasive.datarush.test with parameters of type FloatingPointTolerance Modifier and Type Method Description static void
DataRushAssert. assertLinesEqual(String expectedOutput, String actualOutput, FloatingPointTolerance tolerance, String fieldSeparator)
Compares two files, line-by-line, ignoring floating point mismatches.Constructors in com.pervasive.datarush.test with parameters of type FloatingPointTolerance Constructor Description FloatingPointMismatchFilter(FloatingPointTolerance tolerance, String separator)
Declares a filter using the specified tolerance range.
-