MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / TEST_F

Function TEST_F

tests/src/IO/OFFParserTest.h:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16};
17
18TEST_F(OFFParserTest, ParseCube) {
19 std::string mesh_file = m_data_dir + "cube.off";
20 parse(mesh_file);
21 ASSERT_EQ(8, m_parser->num_vertices());
22 ASSERT_EQ(12, m_parser->num_faces());
23 ASSERT_EQ(0, m_parser->num_voxels());
24 ASSERT_EQ(0, m_parser->vertex_per_voxel());
25 ASSERT_EQ(3, m_parser->vertex_per_face());
26 ASSERT_EQ(3, m_parser->dim());
27}

Callers

nothing calls this directly

Calls 6

num_verticesMethod · 0.45
num_facesMethod · 0.45
num_voxelsMethod · 0.45
vertex_per_voxelMethod · 0.45
vertex_per_faceMethod · 0.45
dimMethod · 0.45

Tested by

no test coverage detected