1.1 --- a/src/test/graph_utils_test.cc Wed Nov 10 19:59:14 2004 +0000
1.2 +++ b/src/test/graph_utils_test.cc Wed Nov 10 20:14:32 2004 +0000
1.3 @@ -3,6 +3,8 @@
1.4 #include <iostream>
1.5 #include <vector>
1.6
1.7 +#include <lemon/graph_utils.h>
1.8 +
1.9 #include <lemon/list_graph.h>
1.10 #include <lemon/smart_graph.h>
1.11 #include <lemon/full_graph.h>
1.12 @@ -22,6 +24,12 @@
1.13 { // checking smart graph
1.14 checkGraphCounters<SmartGraph>();
1.15 }
1.16 + {
1.17 + int num = 5;
1.18 + FullGraph fg(num);
1.19 + check(countNodes(fg) == num, "FullGraph: wrong node number.");
1.20 + check(countEdges(fg) == num*num, "FullGraph: wrong edge number.");
1.21 + }
1.22
1.23 std::cout << __FILE__ ": All tests passed.\n";
1.24