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

Function trait_bounds_compile

nodedb-vector/src/quantize/sq8_codec.rs:165–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163
164 #[test]
165 fn trait_bounds_compile() {
166 let codec = make_codec();
167 let result = use_vector_codec(&codec, &[0.5, -0.1, 1.0], &[1.0, 0.0, 1.2]);
168 assert!(result.is_finite());
169 }
170}

Callers

nothing calls this directly

Calls 2

make_codecFunction · 0.70
use_vector_codecFunction · 0.70

Tested by

no test coverage detected