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

Function fallback_on_empty_coord

nodedb-cluster/src/array_routing.rs:260–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258
259 #[test]
260 fn fallback_on_empty_coord() {
261 let s = vshard_for_array_coord("prices", &[], &[]);
262 let expected = array_vshard_for_name("prices");
263 assert_eq!(s, expected, "empty coord must fall back to from_collection");
264 }
265
266 #[test]
267 fn fallback_on_zero_extent() {

Callers

nothing calls this directly

Calls 2

vshard_for_array_coordFunction · 0.85
array_vshard_for_nameFunction · 0.85

Tested by

no test coverage detected