Module datarush.library
Package com.pervasive.datarush.operators.assertion
Provides operators for making assertions on flows and files. Particularly useful for unit testing DataRush applications.
-
Interface Summary Interface Description FloatingPointTolerance Represents allowable error bounds for comparing the equality of two floating point numbers. -
Class Summary Class Description AbsoluteErrorBound Checks equivalence based on the absolute error between two floating point numbers.AssertEqual Verifies that actual rows are equal to expected rows.AssertEqualHash Verifies that actual rows are equal to expected rows without regard to order.AssertEqualRecordType Assert that the given type and the type of the input port are equal.AssertEqualTypes Asserts that two input flows have identical types.AssertMetadata Assert that the metadata on the input port is set correctly.AssertPredicate Assert that the given predicate is true for all input values.AssertRowCount Verifies that the input flow contains the specified row count.AssertSorted Verifies that the input data is sorted by the given set of keys.ExactTolerance Check equivalence based on an exact match.RelativeErrorBound Checks equivalence based on the relative error between two floating point numbers.UlpDistanceBound Checks equivalence based on the distance between two floating point numbers in units of least precision (ULP).