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

Function TEST_F

tests/tools/Wires/WireNetwork/WireNetworkTest.h:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34};
35
36TEST_F(WireNetworkTest, Brick5) {
37 std::string wire_file = m_data_dir + "brick5.wire";
38 WireNetwork network(wire_file);
39 ASSERT_EQ(3, network.get_dim());
40 ASSERT_EQ(20, network.get_num_vertices());
41 ASSERT_EQ(30, network.get_num_edges());
42 ASSERT_NONZERO_BBOX(network);
43 ASSERT_VALID_EDGES(network);
44}
45
46TEST_F(WireNetworkTest, Box) {
47 std::string wire_file = m_data_dir + "box.wire";

Callers

nothing calls this directly

Calls 15

scale_fitMethod · 0.80
normMethod · 0.80
get_bbox_minMethod · 0.80
get_bbox_maxMethod · 0.80
drop_zero_dimMethod · 0.80
get_dimMethod · 0.45
get_num_verticesMethod · 0.45
get_num_edgesMethod · 0.45
add_attributeMethod · 0.45
set_attributeMethod · 0.45
has_attributeMethod · 0.45
is_vertex_attributeMethod · 0.45

Tested by

no test coverage detected