()
| 396 | |
| 397 | #[test] |
| 398 | fn sparse_tile_rejects_bad_arity() { |
| 399 | let s = schema(); |
| 400 | let mut b = SparseTileBuilder::new(&s); |
| 401 | let r = b.push( |
| 402 | &[CoordValue::Int64(1)], |
| 403 | &[CellValue::String("ALT".into()), CellValue::Float64(0.0)], |
| 404 | ); |
| 405 | assert!(r.is_err()); |
| 406 | } |
| 407 | |
| 408 | #[test] |
| 409 | fn sparse_tile_rejects_bad_attr_count() { |