(tempdir, cell_type)
| 41 | |
| 42 | @pytest.mark.parametrize("cell_type", cell_types_2D) |
| 43 | def test_save_2d_mesh(tempdir, cell_type): |
| 44 | mesh = create_unit_square(MPI.COMM_WORLD, 32, 32, cell_type=cell_type) |
| 45 | filename = Path(tempdir, f"mesh_{cell_type.name}.pvd") |
| 46 | with VTKFile(MPI.COMM_WORLD, filename, "w") as vtk: |
| 47 | vtk.write_mesh(mesh, 0.0) |
| 48 | vtk.write_mesh(mesh, 2.0) |
| 49 | |
| 50 | |
| 51 | @pytest.mark.parametrize("cell_type", cell_types_3D) |
nothing calls this directly
no test coverage detected