MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / coord_range_roundtrip

Function coord_range_roundtrip

nodedb-array/src/sync/snapshot.rs:288–293  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

286
287 #[test]
288 fn coord_range_roundtrip() {
289 let r = range();
290 let bytes = zerompk::to_msgpack_vec(&r).unwrap();
291 let back: CoordRange = zerompk::from_msgpack(&bytes).unwrap();
292 assert_eq!(r, back);
293 }
294
295 #[test]
296 fn tile_snapshot_roundtrip() {

Callers

nothing calls this directly

Calls 1

rangeFunction · 0.70

Tested by

no test coverage detected