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

Function surrogates_empty_roundtrip

nodedb-array/src/codec/column_codec.rs:226–230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

224
225 #[test]
226 fn surrogates_empty_roundtrip() {
227 let data = encode_surrogates(&[]);
228 let out = decode_surrogates(&data).unwrap();
229 assert!(out.is_empty());
230 }
231
232 #[test]
233 fn surrogates_roundtrip() {

Callers

nothing calls this directly

Calls 2

encode_surrogatesFunction · 0.85
decode_surrogatesFunction · 0.85

Tested by

no test coverage detected