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

Function trait_bounds_compile

nodedb-vector/src/quantize/pq_codec.rs:225–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223
224 #[test]
225 fn trait_bounds_compile() {
226 let codec = make_codec();
227 let result = use_vector_codec(&codec, &[0.5, 0.1, 1.0, -0.5], &[5.0, 4.0, 6.0, 4.5]);
228 assert!(result.is_finite());
229 }
230}

Callers

nothing calls this directly

Calls 2

make_codecFunction · 0.70
use_vector_codecFunction · 0.70

Tested by

no test coverage detected