diff -r b4f4c08e1210 -r 2e959a5a0c2d test/bpgraph_test.cc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/bpgraph_test.cc Sun Nov 14 16:35:31 2010 +0100 @@ -0,0 +1,70 @@ +/* -*- mode: C++; indent-tabs-mode: nil; -*- + * + * This file is a part of LEMON, a generic C++ optimization library. + * + * Copyright (C) 2003-2010 + * 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 "test_tools.h" +#include "graph_test.h" + +using namespace lemon; +using namespace lemon::concepts; + +void checkConcepts() { + { // Checking graph components + checkConcept(); + + checkConcept, + IDableBpGraphComponent<> >(); + + checkConcept, + IterableBpGraphComponent<> >(); + + checkConcept, + AlterableBpGraphComponent<> >(); + + checkConcept, + MappableBpGraphComponent<> >(); + + checkConcept, + ExtendableBpGraphComponent<> >(); + + checkConcept, + ErasableBpGraphComponent<> >(); + + checkConcept, + ClearableGraphComponent<> >(); + + } + { // Checking skeleton graph + checkConcept(); + } +} + +void checkGraphs() { +} + +int main() { + checkConcepts(); + checkGraphs(); + return 0; +}