()
| 206 | |
| 207 | #[test] |
| 208 | fn test_iterator() { |
| 209 | // put in c = a and |
| 210 | let mut set = JoinKeySet::new(); |
| 211 | // put in c = a , b = c, and a = c and expect to get only the first 2 |
| 212 | set.insert(&col("c"), &col("a")); |
| 213 | set.insert(&col("b"), &col("c")); |
| 214 | set.insert(&col("a"), &col("c")); |
| 215 | assert_contents(&set, vec![(&col("c"), &col("a")), (&col("b"), &col("c"))]); |
| 216 | } |
| 217 | |
| 218 | #[test] |
| 219 | fn test_insert_intersection() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…