alpar@906: /* -*- C++ -*- alpar@906: * alpar@1956: * This file is a part of LEMON, a generic C++ optimization library alpar@1956: * alpar@1956: * Copyright (C) 2003-2006 alpar@1956: * 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 klao@1909: #include deba@2231: #include klao@946: alpar@921: #include alpar@921: #include alpar@1401: #include deba@1980: #include deba@2231: #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: { deba@2111: typedef Graph Graph; deba@2111: checkConcept >(); klao@946: deba@2111: checkConcept >(); klao@946: deba@2111: checkConcept , Graph::EdgeMap > >(); deba@2111: checkConcept > >(); deba@2111: checkConcept > >(); marci@992: deba@2111: checkConcept, Graph::EdgeMap > >(); klao@946: deba@2111: checkConcept > >(); marci@1383: deba@1980: checkConcept >(); deba@1980: deba@1980: checkConcept , UGraph::UEdgeMap > >(); deba@1980: checkConcept > >(); deba@1980: checkConcept > >(); deba@1980: deba@2111: checkConcept > >(); deba@2231: deba@2231: checkConcept >(); deba@2231: deba@2231: checkConcept >(); deba@2231: klao@946: } marci@849: std::cout << __FILE__ ": All tests passed.\n"; marci@849: marci@849: return 0; marci@849: }