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

Function TEST_F

tests/src/IO/STLParserTest.h:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18};
19
20TEST_F(STLParserTest, empty) {
21 std::string mesh_file = m_data_dir + "empty.stl";
22 parse(mesh_file);
23 ASSERT_EQ(0, m_parser->num_vertices());
24 ASSERT_EQ(0, m_parser->num_faces());
25 ASSERT_EQ(0, m_parser->num_voxels());
26}
27
28TEST_F(STLParserTest, cube) {
29 std::string mesh_file = m_data_dir + "cube.stl";

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