Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ hilbert_decode_matches_module
Function
hilbert_decode_matches_module
nodedb-array/src/coord/decode.rs:27–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
26
#[test]
27
fn hilbert_decode_matches_module() {
28
let idx = hilbert::encode(&[3, 5], 4).unwrap();
29
assert_eq!(decode_hilbert_prefix(idx, 2, 4).unwrap(), vec![3, 5]);
30
}
31
32
#[test]
33
fn zorder_decode_matches_module() {
Callers
nothing calls this directly
Calls
1
encode
Function · 0.70
Tested by
no test coverage detected