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

Function single_entry_roundtrip

nodedb-array/src/codec/coord_rle.rs:227–232  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225
226 #[test]
227 fn single_entry_roundtrip() {
228 let d = make_dict(vec![0], vec![CoordValue::Int64(5)]);
229 let out = roundtrip(&d);
230 assert_eq!(out.indices, d.indices);
231 assert_eq!(out.values, d.values);
232 }
233
234 #[test]
235 fn long_run_uses_rle() {

Callers

nothing calls this directly

Calls 2

make_dictFunction · 0.70
roundtripFunction · 0.70

Tested by

no test coverage detected