(tmpdir)
| 1192 | |
| 1193 | # %% export |
| 1194 | def test_export(tmpdir): |
| 1195 | |
| 1196 | with chdir(tmpdir): |
| 1197 | b1 = box(1, 1, 1) |
| 1198 | b1.export("box.brep") |
| 1199 | |
| 1200 | b2 = Shape.importBrep("box.brep") |
| 1201 | |
| 1202 | assert (b1 - b2).Volume() == approx(0) |
| 1203 | |
| 1204 | |
| 1205 | # %% diagnostics |
nothing calls this directly
no test coverage detected