Adjust test for new random quantization formats (#14058)

This commit is contained in:
Benjamin Trent 2024-12-12 13:22:50 -05:00 committed by GitHub
parent b9385a8a29
commit 6cb79255c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ public class TestKnnFloatVectorQuery extends BaseKnnVectorQueryTestCase {
DocIdSetIterator it = scorer.iterator(); DocIdSetIterator it = scorer.iterator();
assertEquals(2, it.cost()); assertEquals(2, it.cost());
assertEquals(0, it.nextDoc()); assertEquals(0, it.nextDoc());
assertEquals(0, scorer.score(), EPSILON); assertTrue(0 <= scorer.score());
assertEquals(1, it.advance(1)); assertEquals(1, it.advance(1));
assertEquals(1, scorer.score(), EPSILON); assertEquals(1, scorer.score(), EPSILON);
} }