/* -*- C++ -*- * src/test/graph_wrapper_test.cc - Part of LEMON, a generic C++ optimization library * * Copyright (C) 2004 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Combinatorial Optimization Research Group, 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/test_tools.h" #include"test/graph_test.h" /** \file This test makes consistency checks of graph wrappers. \todo More extensive tests are needed */ using namespace lemon; using namespace lemon::concept; int main() { { typedef StaticGraph Graph; checkConcept >(); checkConcept >(); checkConcept , Graph::EdgeMap > >(); checkConcept > >(); checkConcept > >(); checkConcept, Graph::EdgeMap > >(); checkConcept >(); checkConcept, Graph::EdgeMap > >(); checkConcept > >(); } std::cout << __FILE__ ": All tests passed.\n"; return 0; }