()
| 195 | |
| 196 | #[test] |
| 197 | fn block_fully_deleted() { |
| 198 | let mut bm = DeleteBitmap::new(); |
| 199 | // Delete rows 10..20. |
| 200 | for i in 10..20 { |
| 201 | bm.mark_deleted(i); |
| 202 | } |
| 203 | assert!(bm.is_block_fully_deleted(10, 10)); |
| 204 | assert!(!bm.is_block_fully_deleted(10, 11)); // Row 20 is not deleted. |
| 205 | assert!(!bm.is_block_fully_deleted(5, 10)); // Rows 5-9 are not deleted. |
| 206 | } |
| 207 | |
| 208 | #[test] |
| 209 | fn apply_to_validity() { |
nothing calls this directly
no test coverage detected