()
| 238 | |
| 239 | #[test] |
| 240 | fn plan_compaction_output() { |
| 241 | let segments = make_segments(3); |
| 242 | let result = plan_compaction(&segments, Path::new("/tmp")).unwrap(); |
| 243 | assert_eq!(result.input_segments.len(), 3); |
| 244 | assert_eq!(result.min_lsn, 0); |
| 245 | assert_eq!(result.max_lsn, 2999); |
| 246 | assert!(result.tombstones_removed > 0); |
| 247 | } |
| 248 | |
| 249 | #[test] |
| 250 | fn hnsw_merge_drops_tombstones() { |
nothing calls this directly
no test coverage detected