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

Function empty_roundtrip

nodedb-codec/src/alp_rd.rs:262–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260
261 #[test]
262 fn empty_roundtrip() {
263 let encoded = encode(&[]).unwrap();
264 let decoded = decode(&encoded).unwrap();
265 assert!(decoded.is_empty());
266 }
267
268 #[test]
269 fn pi_multiples() {

Callers

nothing calls this directly

Calls 2

encodeFunction · 0.70
decodeFunction · 0.70

Tested by

no test coverage detected