test_helpers/comparison_result.rs
1// comparison_result.rs : test_help-rs
2
3/// Comparison result type.
4#[derive(Debug)]
5#[derive(PartialEq)]
6#[derive(PartialOrd)]
7pub enum ComparisonResult {
8 /// The comparands are exactly equal.
9 ExactlyEqual,
10 /// The comparands are equal within the tolerance of the given margin or
11 /// multiplier.
12 ApproximatelyEqual,
13 /// The comparands are not equal within the tolerance of the given
14 /// margin or multiplier.
15 Unequal,
16}
17
18
19// ///////////////////////////// end of file //////////////////////////// //