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

Function TEST_F

tests/tools/MeshUtils/EdgeUtilsTest.h:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8};
9
10TEST_F(EdgeUtilsTest, edge_loop) {
11 MatrixIr edges(3, 2);
12 edges << 1, 2,
13 2, 3,
14 3, 1;
15 auto chains = EdgeUtils::chain_edges(edges);
16 ASSERT_EQ(1, chains.size());
17 ASSERT_EQ(6, chains.front().sum());
18}
19
20TEST_F(EdgeUtilsTest, multiple_loops) {
21 MatrixIr edges(6, 2);

Callers

nothing calls this directly

Calls 2

chain_edgesFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected