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

Function not_found_below_horizon

nodedb-array/src/query/ceiling.rs:216–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214
215 #[test]
216 fn not_found_below_horizon() {
217 let v1 = payload(0, OPEN_UPPER, 1);
218 // Only version at system_from_ms=100; query at system_as_of=50.
219 let versions = vec![(TileId::new(1, 100), v1.as_slice())];
220 let result = ceiling_resolve_cell(versions, &[], &live_params(50, None)).unwrap();
221 assert!(matches!(result, CeilingResult::NotFound));
222 }
223}

Callers

nothing calls this directly

Calls 3

ceiling_resolve_cellFunction · 0.85
live_paramsFunction · 0.85
payloadFunction · 0.70

Tested by

no test coverage detected