archive: botty_next test harness, legacy-go docs, and dev tools from my-botty
This commit is contained in:
13
botty_next/tests/test_fixtures.py
Normal file
13
botty_next/tests/test_fixtures.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from botty_next.vision.fixtures import load_screenshot, load_template
|
||||
|
||||
|
||||
def test_load_sample_screenshot_fixture() -> None:
|
||||
image = load_screenshot("sample_scene.ppm")
|
||||
|
||||
assert image.shape == (8, 8, 3)
|
||||
|
||||
|
||||
def test_load_sample_template_fixture() -> None:
|
||||
template = load_template("sample_marker.ppm")
|
||||
|
||||
assert template.shape == (3, 3, 3)
|
||||
Reference in New Issue
Block a user