From 85f535ab3e29a8b1ff1af471a4fd068c5dc2db22 Mon Sep 17 00:00:00 2001 From: FredB-mine Date: Fri, 20 Dec 2024 06:08:30 +0800 Subject: [PATCH] Fix range_query_test.py --- cyaron/tests/range_query_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyaron/tests/range_query_test.py b/cyaron/tests/range_query_test.py index 528ea2d..51e9887 100644 --- a/cyaron/tests/range_query_test.py +++ b/cyaron/tests/range_query_test.py @@ -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):