(s: &crate::schema::ArraySchema)
| 149 | } |
| 150 | |
| 151 | fn sparse_tile(s: &crate::schema::ArraySchema) -> SparseTile { |
| 152 | let mut b = SparseTileBuilder::new(s); |
| 153 | b.push( |
| 154 | &[CoordValue::Int64(1), CoordValue::Int64(2)], |
| 155 | &[CellValue::Int64(10)], |
| 156 | ) |
| 157 | .unwrap(); |
| 158 | b.push( |
| 159 | &[CoordValue::Int64(3), CoordValue::Int64(0)], |
| 160 | &[CellValue::Int64(20)], |
| 161 | ) |
| 162 | .unwrap(); |
| 163 | b.build() |
| 164 | } |
| 165 | |
| 166 | #[test] |
| 167 | fn writer_round_trip_via_footer() { |