diff -r 04591f9a4173 -r 48962802d168 src/test/graph_utils_test.cc --- a/src/test/graph_utils_test.cc Wed Nov 10 19:59:14 2004 +0000 +++ b/src/test/graph_utils_test.cc Wed Nov 10 20:14:32 2004 +0000 @@ -3,6 +3,8 @@ #include #include +#include + #include #include #include @@ -22,6 +24,12 @@ { // checking smart graph checkGraphCounters(); } + { + int num = 5; + FullGraph fg(num); + check(countNodes(fg) == num, "FullGraph: wrong node number."); + check(countEdges(fg) == num*num, "FullGraph: wrong edge number."); + } std::cout << __FILE__ ": All tests passed.\n";