alpar@906: /* -*- C++ -*- alpar@921: * src/test/graph_wrapper_test.cc - Part of LEMON, a generic C++ optimization library alpar@906: * alpar@1164: * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport alpar@906: * (Egervary Combinatorial Optimization Research Group, 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@946: alpar@921: #include alpar@921: #include alpar@921: #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@878: This test makes consistency checks of graph wrappers. 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; marci@998: checkConcept >(); klao@946: marci@998: checkConcept >(); klao@946: marci@998: checkConcept , Graph::EdgeMap > >(); marci@998: checkConcept > >(); marci@998: checkConcept > >(); marci@992: marci@998: checkConcept, Graph::EdgeMap > >(); alpar@1160: // checkConcept >(); marci@998: checkConcept, Graph::EdgeMap > >(); klao@946: marci@998: checkConcept > >(); klao@946: } marci@849: std::cout << __FILE__ ": All tests passed.\n"; marci@849: marci@849: return 0; marci@849: }