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

Function large_coord_roundtrip

nodedb-array/src/codec/coord_delta.rs:335–340  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

333
334 #[test]
335 fn large_coord_roundtrip() {
336 let coords: Vec<i64> = (0..100_000).step_by(7).collect();
337 let d = make_dict(&coords);
338 let out = roundtrip(&d);
339 assert_eq!(out.indices, d.indices);
340 }
341
342 #[test]
343 fn string_coord_roundtrip() {

Callers

nothing calls this directly

Calls 3

collectMethod · 0.80
make_dictFunction · 0.70
roundtripFunction · 0.70

Tested by

no test coverage detected