Crate atelier_test

Crate atelier_test 

Source
Expand description

This crate is contains common test cases for Atelier readers and writers.

Modules§

examples
Provides more complete example models.
parts
Provides simple models as basic tests.

Structs§

TestCaseModel
A model that should match the expected lines in LineOrientedWriter format.

Functions§

compare_model_to_file
Serialize model in the line-oriented representation and compare to the expected value in expected_path.
parse_and_compare_model
Parse a model from the string input_str, using the reader representation implementation, and then compare to the expected model value.
parse_and_compare_to_file
Parse a model from the string input_str, using the reader representation implementation, and then compare to the line-oriented representation in expected_path.
parse_and_compare_to_files
Parse the file in actual_path, using the reader representation implementation, and then compare to the line-oriented representation in expected_path.

Type Aliases§

ExpectedLines
A Type that represents the result of the LineOrientedWriter output.