tests/graph_test.cpp
/**
 * Tests "to" out of bounds return code.
 */
Tests "to" out of bounds return code.
Tests " to " out of bounds return code .
TEST(GraphTest, ToOutOfBound) {
    Graph *graph = init_graph(UNWEIGHTED, UNDIRECTED, 4);
    EXPECT_EQ(add_unweighted_edge(graph, 0, 4), GRAPH_ERR_TO_OUT_OF_BOUNDS);
}
TEST ( GraphTest , ToOutOfBound ) { Graph * graph = init_graph ( UNWEIGHTED , UNDIRECTED , 4 ) ; EXPECT_EQ ( add_unweighted_edge ( graph , 0 , 4 ) , GRAPH_ERR_TO_OUT_OF_BOUNDS ) ; }
Tests "to" out of bounds return code.
Tests " to " out of bounds return code .