(self)
| 486 | # ---------------------------- |
| 487 | class TestIvfRabitqQueryParam: |
| 488 | def test_default(self): |
| 489 | param = IvfRabitqQueryParam() |
| 490 | assert param is not None |
| 491 | assert param.nprobe == 10 |
| 492 | assert param.is_using_refiner == False |
| 493 | assert param.radius == 0 |
| 494 | assert param.is_linear == False |
| 495 | assert param.scale_factor == 10.0 |
| 496 | assert param.type == IndexType.IVF_RABITQ |
| 497 | |
| 498 | def test_custom(self): |
| 499 | param = IvfRabitqQueryParam( |
nothing calls this directly
no outgoing calls
no test coverage detected