aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/AreaOfInterest
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze.test/AreaOfInterest')
-rw-r--r--src/argaze.test/AreaOfInterest/AOI2DScene.py19
-rw-r--r--src/argaze.test/AreaOfInterest/AOI3DScene.py19
2 files changed, 0 insertions, 38 deletions
diff --git a/src/argaze.test/AreaOfInterest/AOI2DScene.py b/src/argaze.test/AreaOfInterest/AOI2DScene.py
index 10ff430..1649e54 100644
--- a/src/argaze.test/AreaOfInterest/AOI2DScene.py
+++ b/src/argaze.test/AreaOfInterest/AOI2DScene.py
@@ -177,25 +177,6 @@ class TestAOI2DSceneClass(unittest.TestCase):
self.assertEqual(len(aoi_2d_scene_copy.items()), 1)
self.assertEqual(list(aoi_2d_scene_copy.keys()), ["A"])
-class TestTimeStampedAOIScenesClass(unittest.TestCase):
- """Test TimeStampedAOIScenes class."""
-
- def test___setitem__(self):
- """Test TimeStampedAOIScenes creation."""
-
- aoi_2D_A = AOIFeatures.AreaOfInterest([[0, 0], [0, 1], [1, 1], [1, 0]])
- aoi_2D_B = AOIFeatures.AreaOfInterest([[1, 1], [1, 2], [2, 2], [2, 1]])
- aoi_2d_scene = AOI2DScene.AOI2DScene({"A": aoi_2D_A, "B": aoi_2D_B})
-
- ts_aoi_scenes = AOIFeatures.TimeStampedAOIScenes()
-
- ts_aoi_scenes[0] = aoi_2d_scene
-
- # Check that only AOIScene can be added
- with self.assertRaises(AssertionError):
-
- ts_aoi_scenes[1] = "This string is not an AOI2DScene"
-
if __name__ == '__main__':
unittest.main() \ No newline at end of file
diff --git a/src/argaze.test/AreaOfInterest/AOI3DScene.py b/src/argaze.test/AreaOfInterest/AOI3DScene.py
index d09f2a8..152f545 100644
--- a/src/argaze.test/AreaOfInterest/AOI3DScene.py
+++ b/src/argaze.test/AreaOfInterest/AOI3DScene.py
@@ -97,25 +97,6 @@ class TestAOI3DSceneClass(unittest.TestCase):
self.assertEqual(len(aoi_3d_scene_copy.items()), 1)
self.assertEqual(list(aoi_3d_scene_copy.keys()), ["A"])
-class TestTimeStampedAOIScenesClass(unittest.TestCase):
- """Test TimeStampedAOIScenes class."""
-
- def test___setitem__(self):
- """Test TimeStampedAOIScenes creation."""
-
- aoi_3D_A = AOIFeatures.AreaOfInterest([[0, 0, 0], [0, 1, 0], [1, 1, 0], [1, 0, 0]])
- aoi_3D_B = AOIFeatures.AreaOfInterest([[1, 1, 0], [1, 2, 0], [2, 2, 0], [2, 1, 0]])
- aoi_3d_scene = AOI3DScene.AOI3DScene({"A": aoi_3D_A, "B": aoi_3D_B})
-
- ts_aoi_scenes = AOIFeatures.TimeStampedAOIScenes()
-
- ts_aoi_scenes[0] = aoi_3d_scene
-
- # Check that only AOIScene can be added
- with self.assertRaises(AssertionError):
-
- ts_aoi_scenes[1] = "This string is not an AOI3DScene"
-
if __name__ == '__main__':
unittest.main() \ No newline at end of file