diff options
author | Théo de la Hogue | 2023-04-24 16:42:53 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-04-24 16:42:53 +0200 |
commit | 08e434a0c4563bbc113838c6c9b3e23361e74ad8 (patch) | |
tree | 6477f578490484d1a8581c4495e49fad9edb219c /src/argaze.test/AreaOfInterest/AOIFeatures.py | |
parent | 72d6409892d5b9df05f60351bb06072b7f9e1951 (diff) | |
download | argaze-08e434a0c4563bbc113838c6c9b3e23361e74ad8.zip argaze-08e434a0c4563bbc113838c6c9b3e23361e74ad8.tar.gz argaze-08e434a0c4563bbc113838c6c9b3e23361e74ad8.tar.bz2 argaze-08e434a0c4563bbc113838c6c9b3e23361e74ad8.tar.xz |
Exposing each area as an attribute of the AOIScene.
Diffstat (limited to 'src/argaze.test/AreaOfInterest/AOIFeatures.py')
-rw-r--r-- | src/argaze.test/AreaOfInterest/AOIFeatures.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/argaze.test/AreaOfInterest/AOIFeatures.py b/src/argaze.test/AreaOfInterest/AOIFeatures.py index f894eb8..4313500 100644 --- a/src/argaze.test/AreaOfInterest/AOIFeatures.py +++ b/src/argaze.test/AreaOfInterest/AOIFeatures.py @@ -140,6 +140,7 @@ class TestAOISceneClass(unittest.TestCase): self.assertEqual(aoi_2d_scene.dimension, 2) self.assertEqual(len(aoi_2d_scene.items()), 1) self.assertEqual(list(aoi_2d_scene.keys()), ["A"]) + self.assertEqual(len(vars(aoi_2d_scene)), 3) def test___set_item__(self): """Test AOIScene __set_item__ method.""" |