/* -*- C++ -*- * * This file is a part of LEMON, a generic C++ optimization library * * Copyright (C) 2003-2006 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribute this software is granted * provided that this copyright notice appears in all copies. For * precise terms see the accompanying LICENSE file. * * This software is provided "AS IS" with no warranty of any kind, * express or implied, and with no claim as to its suitability for any * purpose. * */ #include #include #include #include #include #include #include #include "test_tools.h" #include "graph_test.h" #include "map_test.h" using namespace lemon; using namespace lemon::concept; int main() { { // checking graph components checkConcept(); checkConcept, BaseIterableGraphComponent<> >(); checkConcept, IDableGraphComponent<> >(); checkConcept, IterableGraphComponent<> >(); checkConcept, MappableGraphComponent<> >(); } { // checking skeleton graphs checkConcept(); } { // checking list graph checkConcept(); checkConcept, ListGraph>(); checkConcept, ListGraph>(); checkConcept, ListGraph>(); checkConcept, ListGraph>(); checkGraph(); checkGraphNodeMap(); checkGraphEdgeMap(); } { // checking smart graph checkConcept(); checkGraph(); checkGraphNodeMap(); checkGraphEdgeMap(); } { // checking full graph checkConcept(); } { // checking full graph checkConcept(); } std::cout << __FILE__ ": All tests passed.\n"; return 0; }