()
| 44 | |
| 45 | |
| 46 | def test_export(): |
| 47 | |
| 48 | u = np.zeros((10, 10, 10)) |
| 49 | u[2:-2, 2:-2, 2:-2] = 1.0 |
| 50 | vertices, triangles = mcubes.marching_cubes(u, 0.5) |
| 51 | |
| 52 | mcubes.export_obj(vertices, triangles, "output/test.obj") |
| 53 | mcubes.export_off(vertices, triangles, "output/test.off") |
| 54 | mcubes.export_mesh(vertices, triangles, "output/test.dae") |
| 55 | |
| 56 | |
| 57 | def test_invalid_input(): |
nothing calls this directly
no outgoing calls
no test coverage detected