()
| 1178 | |
| 1179 | #[test] |
| 1180 | fn test_stats_empty() { |
| 1181 | let table = HashDedupTable::empty(); |
| 1182 | let stats = table.stats(); |
| 1183 | assert_eq!(stats.entry_count, 0); |
| 1184 | assert_eq!(stats.dependency_count, 0); |
| 1185 | assert_eq!(stats.serialized_bytes, 0); |
| 1186 | } |
| 1187 | |
| 1188 | #[test] |
| 1189 | fn test_stats_with_entries() { |