(array: &str, frontier: Hlc)
| 179 | } |
| 180 | |
| 181 | fn dummy_snapshot(array: &str, frontier: Hlc) -> TileSnapshot { |
| 182 | TileSnapshot { |
| 183 | array: array.into(), |
| 184 | coord_range: CoordRange { |
| 185 | lo: vec![CoordValue::Int64(0)], |
| 186 | hi: vec![CoordValue::Int64(100)], |
| 187 | }, |
| 188 | tile_blob: vec![0xAA; 16], |
| 189 | snapshot_hlc: frontier, |
| 190 | schema_hlc: hlc(1), |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | #[test] |
| 195 | fn gc_with_no_acks_is_noop() { |