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