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

Function fallback_on_mismatched_dims

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

Source from the content-addressed store, hash-verified

272
273 #[test]
274 fn fallback_on_mismatched_dims() {
275 let s = vshard_for_array_coord("prices", &[1, 2], &[4]);
276 let expected = array_vshard_for_name("prices");
277 assert_eq!(
278 s, expected,
279 "mismatched dims must fall back to from_collection"
280 );
281 }
282
283 // ── vshard_for_array_tile ────────────────────────────────────────────────
284

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