MCPcopy Create free account
hub / github.com/Vinyzu/recognizer / test_pathlibs_input

Function test_pathlibs_input

tests/test_inputs.py:36–44  ·  view source on GitHub ↗
(detector: Detector)

Source from the content-addressed store, hash-verified

34
35
36def test_pathlibs_input(detector: Detector):
37 response, coordinates = detector.detect("bicycle", splitted_images, area_captcha=False)
38
39 # General Checks
40 assert response, coordinates
41 assert len(response) == 9
42
43 # Response Correctness
44 assert sum(response) == len(coordinates)
45
46
47def test_single_path_input(detector: Detector):

Callers

nothing calls this directly

Calls 1

detectMethod · 0.80

Tested by

no test coverage detected