tests/graph_test.cpp
/**
 * Tests the initialization of the graph.
 */
Tests the initialization of the graph.
Tests the initialization of the graph .
TEST(GraphTest, InitializeGraph) {
    Graph *graph = init_graph(UNWEIGHTED, UNDIRECTED, 2);
    EXPECT_EQ(graph->capacity, 2);
    EXPECT_EQ(graph->direction, UNDIRECTED);
    EXPECT_EQ(graph->weight, UNWEIGHTED);
}
TEST ( GraphTest , InitializeGraph ) { Graph * graph = init_graph ( UNWEIGHTED , UNDIRECTED , 2 ) ; EXPECT_EQ ( graph -> capacity , 2 ) ; EXPECT_EQ ( graph -> direction , UNDIRECTED ) ; EXPECT_EQ ( graph -> weight , UNWEIGHTED ) ; }
Tests the initialization of the graph.
Tests the initialization of the graph .