()
| 1140 | |
| 1141 | #[test] |
| 1142 | fn test_or_single() { |
| 1143 | let pb = PredicateBuilder::new(&test_fields()); |
| 1144 | let p = pb.equal("id", Datum::Int(1)).unwrap(); |
| 1145 | let combined = Predicate::or(vec![p.clone()]); |
| 1146 | assert_eq!(combined, p); |
| 1147 | } |
| 1148 | |
| 1149 | #[test] |
| 1150 | fn test_or_flattens() { |
nothing calls this directly
no test coverage detected