(self)
| 42 | assert b.contains((0.0, 0.0, 1.0)) == False |
| 43 | |
| 44 | def test_intersection(self): |
| 45 | b = Box(size=(1,1,1)) |
| 46 | ro = (-2.0, 0.0, 0.0) |
| 47 | rd = (1.0, 0.0, 0.0) |
| 48 | assert b.intersections(ro, rd) == ((-0.5, 0.0, 0.0), (0.5, 0.0, 0.0)) |
| 49 | |
| 50 | def test_normal(self): |
| 51 | b = Box(size=(1,1,1)) |
nothing calls this directly
no test coverage detected