14 lines
349 B
Python
14 lines
349 B
Python
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)
|