Expand description
Test utilities for the Lox ecosystem.
Provides approximate equality testing (approx_eq), test data helpers, and the
#[derive(ApproxEq)] macro (behind the derive feature).
Modules§
- approx_
eq - Approximate equality testing for floating-point types.
Macros§
- approx_
eq - Checks if two values are approximately equal.
- approx_
ne - Checks if two values are not approximately equal.
- assert_
approx_ eq - Asserts that two values are approximately equal.
- assert_
approx_ ne - Asserts that two values are not approximately equal.
Functions§
- data_
dir - Returns a PathBuf to the test fixture directory.
- data_
file - Returns a PathBuf to a file in the test fixture directory.
- read_
data_ file - Returns the contents of the data file at
path.