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

Function zorder_decode_matches_module

nodedb-array/src/coord/decode.rs:33–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32 #[test]
33 fn zorder_decode_matches_module() {
34 let idx = zorder::encode(&[3, 5], 4).unwrap();
35 assert_eq!(decode_zorder_prefix(idx, 2, 4).unwrap(), vec![3, 5]);
36 }
37}

Callers

nothing calls this directly

Calls 1

encodeFunction · 0.70

Tested by

no test coverage detected