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

Function f64_empty

nodedb-codec/src/pcodec.rs:149–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147
148 #[test]
149 fn f64_empty() {
150 let encoded = encode_f64(&[]).unwrap();
151 let decoded = decode_f64(&encoded).unwrap();
152 assert!(decoded.is_empty());
153 }
154
155 #[test]
156 fn f64_roundtrip() {

Callers

nothing calls this directly

Calls 2

encode_f64Function · 0.70
decode_f64Function · 0.70

Tested by

no test coverage detected