Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added range query. #158

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix range_query_test.py
AlfredChester committed Dec 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 85f535ab3e29a8b1ff1af471a4fd068c5dc2db22
2 changes: 1 addition & 1 deletion cyaron/tests/range_query_test.py
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ def test_allow_equal_v2_no_throw(self):

def test_less_v1(self):
dimension = random.randint(1, 10)
limits = Vector.random(dimension, [(1, 1000)]) # n1, n2 ...
limits = Vector.random(dimension, [(2, 1000)]) # n1, n2 ...
Q = RangeQuery.random(10**5, limits, RangeQueryRandomMode.less)
self.assertEqual(len(Q), 10**5)
for i in range(10**5):