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

Function empty_dict_roundtrip

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

Source from the content-addressed store, hash-verified

287
288 #[test]
289 fn empty_dict_roundtrip() {
290 let d = DimDict {
291 values: vec![],
292 indices: vec![],
293 };
294 let out = roundtrip(&d);
295 assert_eq!(out.values, d.values);
296 assert_eq!(out.indices, d.indices);
297 }
298
299 #[test]
300 fn single_entry_roundtrip() {

Callers

nothing calls this directly

Calls 1

roundtripFunction · 0.70

Tested by

no test coverage detected