()
| 166 | |
| 167 | |
| 168 | def test_shells(): |
| 169 | |
| 170 | s = box(2, 2, 2) - box(1, 1, 1).moved(z=0.5) |
| 171 | |
| 172 | assert s.outerShell().Area() == approx(6 * 4) |
| 173 | assert len(s.innerShells()) == 1 |
| 174 | assert s.innerShells()[0].Area() == approx(6 * 1) |
| 175 | |
| 176 | |
| 177 | def test_curvature(): |
nothing calls this directly
no test coverage detected