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

Function empty_dict_roundtrip

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

Source from the content-addressed store, hash-verified

217
218 #[test]
219 fn empty_dict_roundtrip() {
220 let d = make_dict(vec![], vec![]);
221 let out = roundtrip(&d);
222 assert_eq!(out.indices, d.indices);
223 assert_eq!(out.values, d.values);
224 }
225
226 #[test]
227 fn single_entry_roundtrip() {

Callers

nothing calls this directly

Calls 2

make_dictFunction · 0.70
roundtripFunction · 0.70

Tested by

no test coverage detected