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.
|
Modifier and Type | Class and 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).
|
Modifier and Type | Field and Description |
---|---|
static FloatingPointTolerance |
FloatingPointTolerance.EXACT
A tolerance requiring exact value equivalence.
|
Modifier and Type | Method and Description |
---|---|
FloatingPointTolerance |
AssertEqual.getErrorTolerance()
Get the error tolerance property for floating point values.
|
Modifier and Type | Method and Description |
---|---|
void |
AssertEqual.setErrorTolerance(FloatingPointTolerance errorTolerance)
Set the error tolerance for floating point values.
|
Constructor and Description |
---|
AssertEqual(FloatingPointTolerance errorTolerance,
int logFrequency)
Construct the operator with the given property values.
|
Modifier and Type | Method and Description |
---|---|
static void |
DataRushAssert.assertLinesEqual(String expectedOutput,
String actualOutput,
FloatingPointTolerance tolerance,
String fieldSeparator)
Compares two files, line-by-line, ignoring floating point mismatches.
|
Constructor and Description |
---|
FloatingPointMismatchFilter(FloatingPointTolerance tolerance,
String separator)
Declares a filter using the specified tolerance range.
|
Copyright © 2016 Actian Corporation. All rights reserved.