| 7 | }; |
| 8 | |
| 9 | TEST_F(VoxelEdgeRatioAttributeTest, tet) { |
| 10 | MeshPtr mesh = load_mesh("tet.msh"); |
| 11 | mesh->add_attribute("voxel_edge_ratio"); |
| 12 | ASSERT_TRUE(mesh->has_attribute("voxel_edge_ratio")); |
| 13 | VectorF edge_ratios = mesh->get_attribute("voxel_edge_ratio"); |
| 14 | ASSERT_EQ(1, edge_ratios.size()); |
| 15 | ASSERT_NEAR(1.0, edge_ratios[0], 1e-6); |
| 16 | } |
nothing calls this directly
no test coverage detected