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

Function attr_col_float64_roundtrip

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

Source from the content-addressed store, hash-verified

279
280 #[test]
281 fn attr_col_float64_roundtrip() {
282 let vals = vec![CellValue::Float64(1.5), CellValue::Float64(-2.5)];
283 let data = encode_attr_col(&vals).unwrap();
284 let out = decode_attr_col(&data).unwrap();
285 assert_eq!(out, vals);
286 }
287
288 #[test]
289 fn attr_col_string_roundtrip() {

Callers

nothing calls this directly

Calls 2

encode_attr_colFunction · 0.85
decode_attr_colFunction · 0.85

Tested by

no test coverage detected