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

Function boundary_values

nodedb-codec/src/delta.rs:354–359  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

352
353 #[test]
354 fn boundary_values() {
355 let values: Vec<i64> = vec![i64::MIN, 0, i64::MAX];
356 let encoded = encode(&values);
357 let decoded = decode(&encoded).unwrap();
358 assert_eq!(decoded, values);
359 }
360
361 #[test]
362 fn streaming_encoder_matches_batch() {

Callers

nothing calls this directly

Calls 2

encodeFunction · 0.70
decodeFunction · 0.70

Tested by

no test coverage detected