Skip to main content

Crate lox_test_utils

Crate lox_test_utils 

Source
Expand description

Test utilities for the Lox ecosystem.

Provides test data helpers for locating and reading files from the workspace data fixture directory. Approximate equality testing now lives in the lox-approx crate.

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.