| 31 | #include <geode/tests/common.hpp> |
| 32 | |
| 33 | void test_create_vertices( |
| 34 | const geode::Graph& graph, geode::GraphBuilder& builder ) |
| 35 | { |
| 36 | builder.create_vertex(); |
| 37 | geode::OpenGeodeMeshException::test( |
| 38 | graph.nb_vertices() == 1, "Graph should have 1 vertex" ); |
| 39 | builder.create_vertices( 3 ); |
| 40 | geode::OpenGeodeMeshException::test( |
| 41 | graph.nb_vertices() == 4, "Graph should have 4 vertices" ); |
| 42 | } |
| 43 | |
| 44 | void test_create_edges( |
| 45 | const geode::Graph& graph, geode::GraphBuilder& builder ) |
no test coverage detected