Uses of Interface
com.pervasive.datarush.operators.assertion.FloatingPointTolerance
Packages that use FloatingPointTolerance
Package
Description
Provides operators for making assertions on flows and files.
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 FloatingPointToleranceModifier and TypeClassDescriptionclassChecks equivalence based on the absolute error between two floating point numbers.classCheck equivalence based on an exact match.classChecks equivalence based on the relative error between two floating point numbers.classChecks 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 FloatingPointToleranceModifier and TypeFieldDescriptionstatic final FloatingPointToleranceFloatingPointTolerance.EXACTA tolerance requiring exact value equivalence.Methods in com.pervasive.datarush.operators.assertion that return FloatingPointToleranceModifier and TypeMethodDescriptionAssertEqual.getErrorTolerance()Get the error tolerance property for floating point values.Methods in com.pervasive.datarush.operators.assertion with parameters of type FloatingPointToleranceModifier and TypeMethodDescriptionvoidAssertEqual.setErrorTolerance(FloatingPointTolerance errorTolerance) Set the error tolerance for floating point values.Constructors in com.pervasive.datarush.operators.assertion with parameters of type FloatingPointToleranceModifierConstructorDescriptionAssertEqual(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 FloatingPointToleranceModifier and TypeMethodDescriptionstatic voidDataRushAssert.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 FloatingPointToleranceModifierConstructorDescriptionFloatingPointMismatchFilter(FloatingPointTolerance tolerance, String separator) Declares a filter using the specified tolerance range.