(self)
| 441 | # ---------------------------- |
| 442 | class TestHnswQueryParam: |
| 443 | def test_default(self): |
| 444 | param = HnswQueryParam() |
| 445 | assert param is not None |
| 446 | assert param.ef == 300 |
| 447 | assert param.is_using_refiner == False |
| 448 | assert param.radius == 0 |
| 449 | assert param.is_linear == False |
| 450 | assert param.prefetch_offset == 8 |
| 451 | assert param.prefetch_lines == 0 |
| 452 | |
| 453 | def test_custom(self): |
| 454 | param = HnswQueryParam( |
nothing calls this directly
no outgoing calls
no test coverage detected