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

Function row_kinds_roundtrip

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

Source from the content-addressed store, hash-verified

244
245 #[test]
246 fn row_kinds_roundtrip() {
247 let kinds = vec![0u8, 1, 2, 0, 0, 1];
248 let data = encode_row_kinds(&kinds);
249 let out = decode_row_kinds(&data).unwrap();
250 assert_eq!(out, kinds);
251 }
252
253 #[test]
254 fn row_kinds_empty_roundtrip() {

Callers

nothing calls this directly

Calls 2

encode_row_kindsFunction · 0.85
decode_row_kindsFunction · 0.85

Tested by

no test coverage detected