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

Function normalize_rejects_arity_mismatch

nodedb-array/src/coord/normalize.rs:189–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187
188 #[test]
189 fn normalize_rejects_arity_mismatch() {
190 let s = schema_2d();
191 let r = normalize_coord(&s, &[CoordValue::Int64(0)], 8);
192 assert!(r.is_err());
193 }
194
195 #[test]
196 fn normalize_rejects_type_mismatch() {

Callers

nothing calls this directly

Calls 2

schema_2dFunction · 0.85
normalize_coordFunction · 0.85

Tested by

no test coverage detected