()
| 130 | |
| 131 | #[test] |
| 132 | fn test_binary_condition_operator_parser() { |
| 133 | let values = [ |
| 134 | ("==", BinaryConditionOperator::Equality), |
| 135 | ("!=", BinaryConditionOperator::Inequality), |
| 136 | ("<=", BinaryConditionOperator::LessEqualThan), |
| 137 | ("<", BinaryConditionOperator::LessThan), |
| 138 | (">=", BinaryConditionOperator::GreaterEqualThan), |
| 139 | (">", BinaryConditionOperator::GreaterThan), |
| 140 | ]; |
| 141 | |
| 142 | for (source, expected) in values { |
| 143 | let (_, parsed) = parse_binary_condition_operator(source).unwrap(); |
| 144 | |
| 145 | assert_eq!(parsed, expected); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | #[test] |
| 150 | fn test_binary_condition_parser() { |
nothing calls this directly
no test coverage detected