def testZeroSize3(self):
     B = BBox(((5, 10), (5, 10)))
     C = BBox(((0, 8), (10, 12)))
     self.failUnless(B.Overlaps(C))
 def testZeroSize4(self):
     B = BBox(((5, 1), (10, 25)))
     C = BBox(((8, 8), (8, 8)))
     self.failUnless(B.Overlaps(C))
 def testZeroSize(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((15, 25), (15, 25)))
     self.failUnless(B.Overlaps(C))
 def testZeroSize2(self):
     B = BBox(((5, 10), (5, 10)))
     C = BBox(((15, 25), (15, 25)))
     self.failIf(B.Overlaps(C))
 def testTouch(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((15, 8), (17.95, 32)))
     self.failUnless(B.Overlaps(C))
 def testCorner(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((15, 25), (17.95, 32)))
     self.failUnless(B.Overlaps(C))
 def testInside(self):
     B = BBox(((-15, -25), (-5, -10)))
     C = BBox(((-12, -22), (-6, -8)))
     self.failUnless(B.Overlaps(C))
 def testLowerRight(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((12, 5), (25, 15)))
     self.failUnless(B.Overlaps(C))
 def testLeft(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((4, 8), (4.95, 32)))
     self.failIf(B.Overlaps(C))
 def testRight(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((17.1, 8), (17.95, 32)))
     self.failIf(B.Overlaps(C))
 def testAbove(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((-10, 25.001), (8.5, 32)))
     self.failIf(B.Overlaps(C))
 def testBelow(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((-10, 5), (8.5, 9.2)))
     self.failIf(B.Overlaps(C))
 def testLowerLeft(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((-10, 5), (8.5, 15)))
     self.failUnless(B.Overlaps(C))
 def testSame(self):
     B = BBox(((-23.5, 456), (56, 532.0)))
     C = BBox(((-23.5, 456), (56, 532.0)))
     self.failUnless(B.Overlaps(C))
 def testOutside(self):
     B = BBox(((-15, -25), (-5, -10)))
     C = BBox(((-17, -26), (3, 0)))
     self.failUnless(B.Overlaps(C))
 def testUpperLeft(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((0, 12), (10, 32.0)))
     self.failUnless(B.Overlaps(C))
 def testUpperRight(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((12, 12), (25, 32.0)))
     self.failUnless(B.Overlaps(C))