From b44cfc109602220ace7ee251e312a31ab6a62825 Mon Sep 17 00:00:00 2001 From: Samuel Date: Thu, 26 Dec 2024 11:54:51 +0000 Subject: [PATCH] moving from test can to 9 point box --- test/MariMapper-Test-Data | 2 +- test/test_sfm_process.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/MariMapper-Test-Data b/test/MariMapper-Test-Data index ba0d85a..8d4e649 160000 --- a/test/MariMapper-Test-Data +++ b/test/MariMapper-Test-Data @@ -1 +1 @@ -Subproject commit ba0d85a4a278f1a44dd47e644dab03f37a76126e +Subproject commit 8d4e6494bcecabd3dbf325d78169fa2f74458954 diff --git a/test/test_sfm_process.py b/test/test_sfm_process.py index c4ebf5c..c039cac 100644 --- a/test/test_sfm_process.py +++ b/test/test_sfm_process.py @@ -7,7 +7,7 @@ def test_sfm_process_basic(): - leds = get_all_2d_led_maps(get_test_dir("MariMapper-Test-Data/can")) + leds = get_all_2d_led_maps(get_test_dir("MariMapper-Test-Data/9_point_box")) sfm = SFM(existing_leds=leds) @@ -18,7 +18,7 @@ def test_sfm_process_basic(): map_3d = output_queue.get(timeout=5) - assert len(map_3d) == 50 + assert len(map_3d) == 21 sfm.stop() timeout = time.time() + 5 @@ -29,7 +29,7 @@ def test_sfm_process_basic(): def test_sfm_process_exit(): - leds = get_all_2d_led_maps(get_test_dir("MariMapper-Test-Data/can")) + leds = get_all_2d_led_maps(get_test_dir("MariMapper-Test-Data/9_point_box")) sfm = SFM(existing_leds=leds)