(name: &str)
| 249 | } |
| 250 | |
| 251 | fn simple_schema(name: &str) -> ArraySchema { |
| 252 | ArraySchema { |
| 253 | name: name.into(), |
| 254 | dims: vec![DimSpec::new( |
| 255 | "x", |
| 256 | DimType::Int64, |
| 257 | Domain::new(DomainBound::Int64(0), DomainBound::Int64(99)), |
| 258 | )], |
| 259 | attrs: vec![AttrSpec::new("v", AttrType::Float64, true)], |
| 260 | tile_extents: vec![10], |
| 261 | cell_order: CellOrder::RowMajor, |
| 262 | tile_order: TileOrder::RowMajor, |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | #[test] |
| 267 | fn from_schema_then_to_schema_roundtrips() { |
no outgoing calls