(s: &crate::schema::ArraySchema, base: i64)
| 405 | } |
| 406 | |
| 407 | fn make_sparse(s: &crate::schema::ArraySchema, base: i64) -> SparseTile { |
| 408 | let mut b = SparseTileBuilder::new(s); |
| 409 | b.push( |
| 410 | &[CoordValue::Int64(base), CoordValue::Int64(base + 1)], |
| 411 | &[CellValue::Int64(base * 10)], |
| 412 | ) |
| 413 | .unwrap(); |
| 414 | b.build() |
| 415 | } |
| 416 | |
| 417 | #[test] |
| 418 | fn reader_round_trips_sparse_tiles() { |