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

Function empty_roundtrip

nodedb-codec/src/double_delta.rs:360–364  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

358
359 #[test]
360 fn empty_roundtrip() {
361 let encoded = encode(&[]);
362 let decoded = decode(&encoded).unwrap();
363 assert!(decoded.is_empty());
364 }
365
366 #[test]
367 fn single_value() {

Callers

nothing calls this directly

Calls 2

encodeFunction · 0.70
decodeFunction · 0.70

Tested by

no test coverage detected