()
| 981 | |
| 982 | #[test] |
| 983 | fn test_contains() { |
| 984 | let h0 = make_hash(0); |
| 985 | let h1 = make_hash(1); |
| 986 | let table = HashDedupTable::new(h0); |
| 987 | |
| 988 | assert!(table.contains(&h0)); |
| 989 | assert!(!table.contains(&h1)); |
| 990 | } |
| 991 | |
| 992 | // ── Iterator ─────────────────────────────────────────────────── |
| 993 |
nothing calls this directly
no test coverage detected