aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/GazeFeatures.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze.test/GazeFeatures.py')
-rw-r--r--src/argaze.test/GazeFeatures.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/argaze.test/GazeFeatures.py b/src/argaze.test/GazeFeatures.py
index 2d052ab..11e7c24 100644
--- a/src/argaze.test/GazeFeatures.py
+++ b/src/argaze.test/GazeFeatures.py
@@ -141,16 +141,16 @@ class TestGazePositionClass(unittest.TestCase):
gaze_position_C = GazeFeatures.GazePosition((5, 0), precision=5)
gaze_position_D = GazeFeatures.GazePosition((4, 0), precision=5)
- self.assertFalse(gaze_position_A.overlap(gaze_position_B))
- self.assertTrue(gaze_position_A.overlap(gaze_position_C))
- self.assertFalse(gaze_position_A.overlap(gaze_position_C, both=True))
+ self.assertFalse(gaze_position_A.is_overlapping()(gaze_position_B))
+ self.assertTrue(gaze_position_A.is_overlapping()(gaze_position_C))
+ self.assertFalse(gaze_position_A.is_overlapping()(gaze_position_C, both=True))
- self.assertFalse(gaze_position_B.overlap(gaze_position_A))
- self.assertTrue(gaze_position_B.overlap(gaze_position_C))
- self.assertFalse(gaze_position_B.overlap(gaze_position_C, both=True))
+ self.assertFalse(gaze_position_B.is_overlapping()(gaze_position_A))
+ self.assertTrue(gaze_position_B.is_overlapping()(gaze_position_C))
+ self.assertFalse(gaze_position_B.is_overlapping()(gaze_position_C, both=True))
- self.assertFalse(gaze_position_C.overlap(gaze_position_A))
- self.assertFalse(gaze_position_C.overlap(gaze_position_B))
+ self.assertFalse(gaze_position_C.is_overlapping()(gaze_position_A))
+ self.assertFalse(gaze_position_C.is_overlapping()(gaze_position_B))
def test___repr__(self):
"""Test GazePosition string representation."""