Skip to main content

Module test_harness

Module test_harness 

Source
Expand description

Shared assertions and fixtures for array tests.

These helpers are available to this crate’s tests and to crates that enable _test-harness.

Modules§

trace
Snapshot-friendly tracing harness for the optimizer and executor.

Enums§

ExpectedOutcome
The result that every applicable execution path must produce.

Functions§

assert_execution_paths
Assert that an operation matches expected on batch, row, and constant inputs.
check_metadata
Check that a named metadata matches its previous versioning.
mark_decoded
Marks each node of a benchmark input as optimized without trying any rule, as decoding does.
mark_optimized
Marks a benchmark input as optimized, as decoding marks the arrays that a reader returns.
to_int_indices
Outputs the indices of the true values in a BoolArray