Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ single_entry_roundtrip
Function
single_entry_roundtrip
nodedb-array/src/codec/coord_delta.rs:300–305 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
298
299
#[test]
300
fn single_entry_roundtrip() {
301
let d = make_dict(&[42]);
302
let out = roundtrip(&d);
303
assert_eq!(out.values, d.values);
304
assert_eq!(out.indices, d.indices);
305
}
306
307
#[test]
308
fn monotonic_coords_roundtrip() {
Callers
nothing calls this directly
Calls
2
make_dict
Function · 0.70
roundtrip
Function · 0.70
Tested by
no test coverage detected