MCPcopy Create free account
hub / github.com/cosdata/cosdata / test_logical_operator_parser

Function test_logical_operator_parser

src/cosql/condition.rs:186–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

parse_logical_operatorFunction · 0.85

Tested by

no test coverage detected