Beispiel #1
0
 def test2_overlap(self):
     self.assertTrue(overlaps((-1, 5), (5, 0)))
Beispiel #2
0
 def test16_not_overlap(self):
     self.assertFalse(overlaps((-5.5, -34), (9, -1)))
Beispiel #3
0
 def test1_overl(self):
     self.assertTrue(overlaps((1, 5), (2, 6)))
Beispiel #4
0
 def test14_not_overlap(self):
     self.assertFalse(overlaps((9.5, 6.1), (6, -6.44)))
Beispiel #5
0
 def test15_not_overlap(self):
     self.assertFalse(overlaps((1, 0.0), (1.1, 8)))
Beispiel #6
0
 def test12_not_overlap(self):
     self.assertFalse(overlaps((8, -45), (9, 33)))
Beispiel #7
0
 def test13_not_overlap(self):
     self.assertFalse(overlaps((-3, -11), (-12, -20)))
Beispiel #8
0
 def test10_not_overlap(self):
     self.assertFalse(overlaps((-5, -2), (3, -1)))
Beispiel #9
0
 def test11_not_overlap(self):
     self.assertFalse(overlaps((0, 0), (1, 1)))
Beispiel #10
0
 def test8_overlap(self):
     self.assertTrue(overlaps((60, -6), (-6, 6)))
Beispiel #11
0
 def test9_not_overlap(self):
     self.assertFalse(overlaps((1, 5), (6, 8)))
Beispiel #12
0
 def test7_overlap(self):
     self.assertTrue(overlaps((-9000, 4), (0, -19)))
Beispiel #13
0
 def test6_overlap(self):
     self.assertTrue(overlaps((9, -44), (-23, 67)))
Beispiel #14
0
 def test5_overlap(self):
     self.assertTrue(overlaps((20.2, 20), (20.1, 20)))
Beispiel #15
0
 def test4_overlap(self):
     self.assertTrue(overlaps((0, 0), (0, 0)))
Beispiel #16
0
 def test3_overlap(self):
     self.assertTrue(overlaps((5, -1), (0, 5)))