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

Function dummy_snap

nodedb/tests/array_cluster_sync.rs:58–69  ·  view source on GitHub ↗
(array: &str, frontier: Hlc)

Source from the content-addressed store, hash-verified

56}
57
58fn dummy_snap(array: &str, frontier: Hlc) -> TileSnapshot {
59 TileSnapshot {
60 array: array.into(),
61 coord_range: CoordRange {
62 lo: vec![CoordValue::Int64(0)],
63 hi: vec![CoordValue::Int64(100)],
64 },
65 tile_blob: vec![0xCC; 4],
66 snapshot_hlc: frontier,
67 schema_hlc: hlc(1, 1),
68 }
69}
70
71// ── Routing property tests ────────────────────────────────────────────────────
72

Calls 1

hlcFunction · 0.50

Tested by

no test coverage detected