()
| 232 | |
| 233 | #[test] |
| 234 | fn version_byte_is_one() { |
| 235 | let s = schema(); |
| 236 | let tile = make_tile(&s, 20); |
| 237 | let mut buf = Vec::new(); |
| 238 | encode_sparse_tile(&tile, &mut buf).unwrap(); |
| 239 | assert_eq!(buf[1], PAYLOAD_VERSION); |
| 240 | } |
| 241 | |
| 242 | #[test] |
| 243 | fn empty_tile_encodes_and_decodes() { |
nothing calls this directly
no test coverage detected