alpar@906: /* -*- C++ -*- alpar@1401: * src/test/graph_adaptor_test.cc - Part of LEMON, a generic C++ optimization library alpar@906: * alpar@1164: * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport alpar@1359: * (Egervary Research Group on Combinatorial Optimization, EGRES). alpar@906: * alpar@906: * Permission to use, modify and distribute this software is granted alpar@906: * provided that this copyright notice appears in all copies. For alpar@906: * precise terms see the accompanying LICENSE file. alpar@906: * alpar@906: * This software is provided "AS IS" with no warranty of any kind, alpar@906: * express or implied, and with no claim as to its suitability for any alpar@906: * purpose. alpar@906: * alpar@906: */ alpar@906: marci@849: #include klao@946: #include klao@946: alpar@921: #include klao@959: #include marci@1383: #include klao@946: alpar@921: #include alpar@921: #include alpar@1401: #include marci@849: marci@870: #include"test/test_tools.h" marci@870: #include"test/graph_test.h" marci@849: marci@849: /** marci@849: \file alpar@1401: This test makes consistency checks of graph adaptors. marci@849: alpar@878: \todo More extensive tests are needed marci@849: */ marci@849: alpar@921: using namespace lemon; klao@959: using namespace lemon::concept; marci@849: marci@849: marci@849: marci@849: int main() marci@849: { klao@946: { marci@998: typedef StaticGraph Graph; alpar@1401: checkConcept >(); klao@946: alpar@1401: checkConcept >(); klao@946: alpar@1401: checkConcept , Graph::EdgeMap > >(); alpar@1401: checkConcept > >(); alpar@1401: checkConcept > >(); marci@992: alpar@1401: checkConcept, Graph::EdgeMap > >(); alpar@1160: // checkConcept >(); alpar@1401: checkConcept, Graph::EdgeMap > >(); klao@946: alpar@1401: checkConcept > >(); marci@1383: marci@1383: /// \bug why does not compile with StaticGraph alpar@1401: checkConcept >(); alpar@1401: checkConcept >(); alpar@1401: checkConcept >(); klao@946: } marci@849: std::cout << __FILE__ ": All tests passed.\n"; marci@849: marci@849: return 0; marci@849: }