()
| 181 | |
| 182 | #[test] |
| 183 | fn writer_emits_header_first() { |
| 184 | let w = SegmentWriter::new(0xAA); |
| 185 | let bytes = finish_plain(w).unwrap(); |
| 186 | let h = SegmentHeader::decode(&bytes).unwrap(); |
| 187 | assert_eq!(h.schema_hash, 0xAA); |
| 188 | } |
| 189 | |
| 190 | #[test] |
| 191 | fn writer_rejects_non_monotonic_tile_ids() { |
nothing calls this directly
no test coverage detected