()
| 124 | |
| 125 | #[test] |
| 126 | fn cells_in_same_tile_share_prefix() { |
| 127 | let s = schema(); |
| 128 | let t1 = tile_id_for_cell(&s, &[CoordValue::Int64(0), CoordValue::Int64(0)], 0).unwrap(); |
| 129 | let t2 = tile_id_for_cell(&s, &[CoordValue::Int64(9), CoordValue::Int64(9)], 0).unwrap(); |
| 130 | assert_eq!(t1.hilbert_prefix, t2.hilbert_prefix); |
| 131 | } |
| 132 | |
| 133 | #[test] |
| 134 | fn cells_in_different_tiles_have_different_prefixes() { |
nothing calls this directly
no test coverage detected