MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / test_delete_isolated_vertices

Function test_delete_isolated_vertices

tests/mesh/test-graph.cpp:151–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void test_delete_isolated_vertices(
152 const geode::Graph& graph, geode::GraphBuilder& builder )
153{
154 builder.delete_isolated_vertices();
155 geode::OpenGeodeMeshException::test(
156 graph.nb_vertices() == 3, "Graph should have 3 vertices" );
157 geode::OpenGeodeMeshException::test(
158 graph.nb_edges() == 2, "Graph should have 2 edges" );
159}
160
161void test()
162{

Callers 1

testFunction · 0.70

Calls 4

testFunction · 0.70
nb_verticesMethod · 0.45
nb_edgesMethod · 0.45

Tested by

no test coverage detected