def testLeft(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((4, 8), (4.95, 32)))
     self.failIf(B.Inside(C))
 def testRight(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((17.1, 8), (17.95, 32)))
     self.failIf(B.Inside(C))
 def testBelow(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((-10, 5), (8.5, 9.2)))
     self.failIf(B.Inside(C))
 def testAbove(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((-10, 25.001), (8.5, 32)))
     self.failIf(B.Inside(C))
 def testLowerRight(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((12, 5), (25, 15)))
     self.failIf(B.Inside(C))
 def testLowerLeft(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((-10, 5), (8.5, 15)))
     self.failIf(B.Inside(C))
 def testUpperRight(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((12, 12), (25, 32.0)))
     self.failIf(B.Inside(C))
 def testUpperLeft(self):
     B = BBox(((5, 10), (15, 25)))
     C = BBox(((0, 12), (10, 32.0)))
     self.failIf(B.Inside(C))
 def testPointOutside(self):
     B = BBox(((1.0, 2.0), (5.0, 10.0)))
     C = BBox(((-3.0, 4.0), (0.10, 4.0)))
     self.failIf(B.Inside(C))
 def testPoint(self):
     B = BBox(((1.0, 2.0), (5.0, 10.0)))
     C = BBox(((3.0, 4.0), (3.0, 4.0)))
     self.failUnless(B.Inside(C))
 def testSame(self):
     B = BBox(((1.0, 2.0), (5.0, 10.0)))
     C = BBox(((1.0, 2.0), (5.0, 10.0)))
     self.failUnless(B.Inside(C))