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

Function structural_tile_roundtrip

nodedb-array/src/codec/tile_decode.rs:256–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254
255 #[test]
256 fn structural_tile_roundtrip() {
257 let s = schema();
258 let tile = make_tile(&s, 50);
259 let out = roundtrip(&tile);
260 assert_eq!(out.surrogates.len(), tile.surrogates.len());
261 assert_eq!(out.valid_from_ms, tile.valid_from_ms);
262 assert_eq!(out.valid_until_ms, tile.valid_until_ms);
263 assert_eq!(out.attr_cols, tile.attr_cols);
264 assert_eq!(out.row_kinds, tile.row_kinds);
265 }
266
267 #[test]
268 fn one_thousand_cells_roundtrip() {

Callers

nothing calls this directly

Calls 3

schemaFunction · 0.70
make_tileFunction · 0.70
roundtripFunction · 0.70

Tested by

no test coverage detected