Add BFS, DFS, bfs, dfs, move graph_demo() to a seperate file . All tests passed.

This commit is contained in:
Shine wOng
2019-06-04 21:30:06 +08:00
parent 3880e2125a
commit 30b5090612
5 changed files with 169 additions and 18 deletions

View File

@@ -9,7 +9,7 @@ void test_vertex_insert();
void test_vertex_delete();
void test_edge_insert();
int main(){
int GraphMatrix_test_main(){
cout << "Running tests" << endl;
test_constructor();