aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/ArFeatures.py
diff options
context:
space:
mode:
authorThéo de la Hogue2023-06-20 18:25:50 +0200
committerThéo de la Hogue2023-06-20 18:25:50 +0200
commitbae4435a0a97cb0ae0fcea2f172d25082ae12223 (patch)
treec616211f3bce0c7bf7a79e6353e7f243ce00ac25 /src/argaze.test/ArFeatures.py
parent106c281870aaa85583740f981986715a60a59d89 (diff)
downloadargaze-bae4435a0a97cb0ae0fcea2f172d25082ae12223.zip
argaze-bae4435a0a97cb0ae0fcea2f172d25082ae12223.tar.gz
argaze-bae4435a0a97cb0ae0fcea2f172d25082ae12223.tar.bz2
argaze-bae4435a0a97cb0ae0fcea2f172d25082ae12223.tar.xz
Updating test.
Diffstat (limited to 'src/argaze.test/ArFeatures.py')
-rw-r--r--src/argaze.test/ArFeatures.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/argaze.test/ArFeatures.py b/src/argaze.test/ArFeatures.py
index 5da63d1..765e9cf 100644
--- a/src/argaze.test/ArFeatures.py
+++ b/src/argaze.test/ArFeatures.py
@@ -62,7 +62,8 @@ class TestArEnvironmentClass(unittest.TestCase):
# Check AOI scene
self.assertEqual(len(ar_scene.aoi_scene.items()), 1)
- self.assertEqual(ar_scene.aoi_scene['Test'].size, 4)
+ self.assertEqual(ar_scene.aoi_scene['Test'].points_number, 4)
+ self.assertIsNone(numpy.testing.assert_array_equal(ar_scene.aoi_scene['Test'].size, [1., 1., 0.]))
# Check ArScene
self.assertEqual(ar_scene.angle_tolerance, 1.0)