mirror of https://github.com/apache/lucene.git
Adjust test for new random quantization formats (#14058)
This commit is contained in:
parent
b9385a8a29
commit
6cb79255c4
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue