def test_addPoints(self): b1 = AABBox((-.5, -.5, -.5), (.5, .5, .5)) b1.addPoints(((-1., 1., -1.), (1., -1., 1.))) self.almostEqual(b1.min, (-1., -1., -1.)) self.almostEqual(b1.max, (1., 1., 1.))