mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 00:36:56 +02:00
Add test-only wrappers behind SQLITE_VEC_TEST compile flag to expose static distance functions for unit testing. Includes tests for distance_l2_sqr_float (4 cases), distance_cosine_float (3 cases), and distance_hamming (4 cases). Print active SIMD flags at test start. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __snapshots__ | ||
| afbd | ||
| correctness | ||
| fuzz | ||
| leak-fixtures | ||
| minimum | ||
| .gitignore | ||
| .python-version | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| conftest.py | ||
| fuzz.py | ||
| pyproject.toml | ||
| skip.test-correctness.py | ||
| sqlite-vec-internal.h | ||
| test-auxiliary.py | ||
| test-general.py | ||
| test-knn-distance-constraints.py | ||
| test-loadable.py | ||
| test-metadata.py | ||
| test-partition-keys.py | ||
| test-unit.c | ||
| test-wasm.mjs | ||
| unittest.rs | ||
| utils.py | ||
| uv.lock | ||