def test_is_entering_false(self): s = Sphere(radius=1) assert s.is_entering((-1.0, 0.0, 0.0), (-1.0, 0.0, 0.0)) == False
def test_is_entering_true(self): s = Sphere(radius=1) assert s.is_entering((-1.0, 0.0, 0.0), (1.0, 0.0, 0.0)) == True