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

Function attr_col_int64_roundtrip

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

Source from the content-addressed store, hash-verified

267
268 #[test]
269 fn attr_col_int64_roundtrip() {
270 let vals = vec![
271 CellValue::Int64(10),
272 CellValue::Int64(-5),
273 CellValue::Int64(0),
274 ];
275 let data = encode_attr_col(&vals).unwrap();
276 let out = decode_attr_col(&data).unwrap();
277 assert_eq!(out, vals);
278 }
279
280 #[test]
281 fn attr_col_float64_roundtrip() {

Callers

nothing calls this directly

Calls 2

encode_attr_colFunction · 0.85
decode_attr_colFunction · 0.85

Tested by

no test coverage detected