MCPcopy Create free account
hub / github.com/alibaba/zvec / test_default

Method test_default

python/tests/test_params.py:443–451  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

441# ----------------------------
442class 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(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected