Expand description
This crate is contains common test cases for Atelier readers and writers.
Modules§
Structs§
- Test
Case Model - A model that should match the expected lines in
LineOrientedWriterformat.
Functions§
- compare_
model_ to_ file - Serialize
modelin the line-oriented representation and compare to the expected value inexpected_path. - parse_
and_ compare_ model - Parse a model from the string
input_str, using thereaderrepresentation implementation, and then compare to theexpectedmodel value. - parse_
and_ compare_ to_ file - Parse a model from the string
input_str, using thereaderrepresentation implementation, and then compare to the line-oriented representation inexpected_path. - parse_
and_ compare_ to_ files - Parse the file in
actual_path, using thereaderrepresentation implementation, and then compare to the line-oriented representation inexpected_path.
Type Aliases§
- Expected
Lines - A Type that represents the result of the
LineOrientedWriteroutput.