mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 00:36:56 +02:00
test_vec_quantize_binary small test for windows
This commit is contained in:
parent
37b4c2e9dc
commit
3442131613
1 changed files with 1 additions and 2 deletions
|
|
@ -497,12 +497,11 @@ def test_vec_quantize_i8():
|
|||
assert vec_quantize_i8() == 111
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="TODO")
|
||||
def test_vec_quantize_binary():
|
||||
vec_quantize_binary = lambda *args, input="?": db.execute(
|
||||
f"select vec_quantize_binary({input})", args
|
||||
).fetchone()[0]
|
||||
assert vec_quantize_binary("[-1, -1, -1, -1, 1, 1, 1, 1]") == 111
|
||||
assert vec_quantize_binary("[-1, -1, -1, -1, 1, 1, 1, 1]") == b"\xf0"
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="TODO")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue