def test_not_in_sphere(self): p = Point(0, 0, 1) self.assertFalse(p.in_sphere(Point(0, 0, 0), 0.9))
def test_in_sphere(self): p = Point(0, 0, 1) self.assertTrue(p.in_sphere(Point(0, 0, 0), 1))
def test_not_in_sphere(self): p = Point(0, 0, 1) self.assertFalse(p.in_sphere(Point(0, 0, 0), 0.9))
def test_in_sphere(self): p = Point(0, 0, 1) self.assertTrue(p.in_sphere(Point(0, 0, 0), 1))