// -*- c++ -*- #include #include #include #include #include #include #include "test_tools.h" #include "graph_utils_test.h" using namespace lemon; int main() { ///\file { // checking list graph checkGraphCounters(); } { // 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"; return 0; }