| 7 | class MeshCheckerTest : public TestBase { |
| 8 | protected: |
| 9 | MeshChecker create(Mesh::Ptr mesh) { |
| 10 | return MeshChecker( |
| 11 | MatrixUtils::reshape<MatrixFr>( |
| 12 | mesh->get_vertices(), |
| 13 | mesh->get_num_vertices(), |
| 14 | mesh->get_dim() ), |
| 15 | MatrixUtils::reshape<MatrixIr>( |
| 16 | mesh->get_faces(), |
| 17 | mesh->get_num_faces(), |
| 18 | mesh->get_vertex_per_face()), |
| 19 | MatrixUtils::reshape<MatrixIr>( |
| 20 | mesh->get_voxels(), |
| 21 | mesh->get_num_voxels(), |
| 22 | mesh->get_vertex_per_voxel()) |
| 23 | ); |
| 24 | } |
| 25 | }; |
| 26 | |
| 27 | TEST_F(MeshCheckerTest, cube) { |
no test coverage detected