()
| 160 | use crate::types::domain::{Domain, DomainBound}; |
| 161 | |
| 162 | fn schema() -> ArraySchema { |
| 163 | ArraySchemaBuilder::new("g") |
| 164 | .dim(DimSpec::new( |
| 165 | "k", |
| 166 | DimType::Int64, |
| 167 | Domain::new(DomainBound::Int64(0), DomainBound::Int64(15)), |
| 168 | )) |
| 169 | .attr(AttrSpec::new("v", AttrType::Int64, true)) |
| 170 | .tile_extents(vec![16]) |
| 171 | .build() |
| 172 | .unwrap() |
| 173 | } |
| 174 | |
| 175 | fn tile(rows: &[(i64, i64)]) -> SparseTile { |
| 176 | let s = schema(); |