()
| 1219 | |
| 1220 | #[test] |
| 1221 | fn test_display_format() { |
| 1222 | let mut table = HashDedupTable::new(make_hash(0)); |
| 1223 | table.insert(make_hash(1)).unwrap(); |
| 1224 | |
| 1225 | let display = format!("{}", table); |
| 1226 | assert!(display.contains("2 entries")); |
| 1227 | assert!(display.contains("64 bytes")); |
| 1228 | } |
| 1229 | |
| 1230 | // ── Clone ────────────────────────────────────────────────────── |
| 1231 |