/* -*- C++ -*- * src/test/graph_adaptor_test.cc - Part of LEMON, a generic C++ optimization library * * Copyright (C) 2005 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 #include"test/test_tools.h" #include"test/graph_test.h" /** \file This test makes consistency checks of graph adaptors. \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 > >(); /// \bug why does not compile with StaticGraph checkConcept >(); checkConcept >(); checkConcept >(); } std::cout << __FILE__ ": All tests passed.\n"; return 0; }