Tests node and edge creation.
| 248 | |
| 249 | // Tests node and edge creation. |
| 250 | void test_graphConstruction() { |
| 251 | size_t node_count = GRAPH_DEFAULT_NODE_CAP / 2; |
| 252 | Graph *g = Graph_New(node_count, node_count); |
| 253 | Graph_AcquireWriteLock(g); |
| 254 | _test_node_creation(g, node_count); |
| 255 | Graph_ReleaseLock(g); |
| 256 | Graph_Free(g); |
| 257 | } |
| 258 | |
| 259 | void test_removeNodes() { |
| 260 | // Construct graph. |
nothing calls this directly
no test coverage detected