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

Function TEST_F

tests/src/IO/OBJWriterTest.h:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10};
11
12TEST_F(OBJWriterTest, EmptyMesh) {
13 MeshPtr m1 = load_mesh("empty.obj");
14 MeshPtr m2 = write_and_load("empty.obj", m1);
15
16 ASSERT_EQ(m1->get_num_vertices(), m2->get_num_vertices());
17 ASSERT_EQ(m1->get_num_faces(), m2->get_num_faces());
18 ASSERT_EQ(m1->get_num_voxels(), m2->get_num_voxels());
19}
20
21TEST_F(OBJWriterTest, WriteCube) {
22 MeshPtr m1 = load_mesh("cube.obj");

Callers

nothing calls this directly

Calls 10

load_meshFunction · 0.85
get_num_verticesMethod · 0.45
get_num_facesMethod · 0.45
get_num_voxelsMethod · 0.45
get_dimMethod · 0.45
get_vertex_per_faceMethod · 0.45
get_vertex_per_voxelMethod · 0.45
get_verticesMethod · 0.45
get_facesMethod · 0.45
get_voxelsMethod · 0.45

Tested by

no test coverage detected