aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/ArFeatures.py
diff options
context:
space:
mode:
authorThéo de la Hogue2023-04-05 14:18:21 +0200
committerThéo de la Hogue2023-04-05 14:18:21 +0200
commit6fbe2de7f5839ef875da3211a55f3a8007dcbd45 (patch)
tree5573e88c6b1dd510674638bbbe2a7696cb76eb4e /src/argaze.test/ArFeatures.py
parent84a89d804180a816060fbd5b85bdb2342c6a1063 (diff)
downloadargaze-6fbe2de7f5839ef875da3211a55f3a8007dcbd45.zip
argaze-6fbe2de7f5839ef875da3211a55f3a8007dcbd45.tar.gz
argaze-6fbe2de7f5839ef875da3211a55f3a8007dcbd45.tar.bz2
argaze-6fbe2de7f5839ef875da3211a55f3a8007dcbd45.tar.xz
Fixing and testing multi ar scenes loading.
Diffstat (limited to 'src/argaze.test/ArFeatures.py')
-rw-r--r--src/argaze.test/ArFeatures.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/argaze.test/ArFeatures.py b/src/argaze.test/ArFeatures.py
index af8cfa8..054416a 100644
--- a/src/argaze.test/ArFeatures.py
+++ b/src/argaze.test/ArFeatures.py
@@ -37,11 +37,11 @@ class TestArEnvironmentClass(unittest.TestCase):
self.assertIsNone(numpy.testing.assert_array_equal(ar_environment.aruco_detector.camera.D, [-1.0, -0.5, 0.0, 0.5, 1.0]))
# Check environment scenes
- self.assertEqual(len(ar_environment.scenes), 1)
- self.assertIsNone(numpy.testing.assert_array_equal(list(ar_environment.scenes.keys()), ["TestScene"]))
+ self.assertEqual(len(ar_environment.scenes), 2)
+ self.assertIsNone(numpy.testing.assert_array_equal(list(ar_environment.scenes.keys()), ["TestSceneA", "TestSceneB"]))
# Load test scene
- ar_scene = ar_environment.scenes["TestScene"]
+ ar_scene = ar_environment.scenes["TestSceneA"]
# Check Aruco scene
self.assertEqual(len(ar_scene.aruco_scene.places), 2)