()
| 184 | |
| 185 | #[test] |
| 186 | fn test_logical_operator_parser() { |
| 187 | let values = [("and", LogicalOperator::And), ("or", LogicalOperator::Or)]; |
| 188 | |
| 189 | for (source, expected) in values { |
| 190 | let (_, parsed) = parse_logical_operator(source).unwrap(); |
| 191 | |
| 192 | assert_eq!(parsed, expected); |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | #[test] |
| 197 | fn test_condition_parser() { |
nothing calls this directly
no test coverage detected