test/graph_adaptor_test.cc
changeset 2256 b22dfb6c5ff3
parent 2111 ea1fa1bc3f6d
child 2260 4274224f8a7d
equal deleted inserted replaced
7:e3955bdb44b7 8:4e4e5ff5c4c1
    20 #include<lemon/concept_check.h>
    20 #include<lemon/concept_check.h>
    21 
    21 
    22 #include<lemon/smart_graph.h>
    22 #include<lemon/smart_graph.h>
    23 #include<lemon/concept/graph.h>
    23 #include<lemon/concept/graph.h>
    24 #include<lemon/concept/ugraph.h>
    24 #include<lemon/concept/ugraph.h>
       
    25 #include<lemon/concept/bpugraph.h>
    25 
    26 
    26 #include<lemon/list_graph.h>
    27 #include<lemon/list_graph.h>
    27 #include<lemon/full_graph.h>
    28 #include<lemon/full_graph.h>
    28 #include<lemon/graph_adaptor.h>
    29 #include<lemon/graph_adaptor.h>
    29 #include<lemon/ugraph_adaptor.h>
    30 #include<lemon/ugraph_adaptor.h>
       
    31 #include<lemon/bpugraph_adaptor.h>
    30 
    32 
    31 #include"test/test_tools.h"
    33 #include"test/test_tools.h"
    32 #include"test/graph_test.h"
    34 #include"test/graph_test.h"
    33 
    35 
    34 /**
    36 /**
    73     checkConcept<UGraph, EdgeSubUGraphAdaptor<UGraph, 
    75     checkConcept<UGraph, EdgeSubUGraphAdaptor<UGraph, 
    74       UGraph::UEdgeMap<bool> > >();
    76       UGraph::UEdgeMap<bool> > >();
    75 
    77 
    76     checkConcept<Graph, DirUGraphAdaptor<UGraph, 
    78     checkConcept<Graph, DirUGraphAdaptor<UGraph, 
    77       UGraph::UEdgeMap<bool> > >();
    79       UGraph::UEdgeMap<bool> > >();
       
    80 
       
    81     checkConcept<BpUGraph, BpUGraphAdaptor<BpUGraph> >();
       
    82 
       
    83     checkConcept<BpUGraph, SwapBpUGraphAdaptor<BpUGraph> >();
       
    84 
    78   }
    85   }
    79   std::cout << __FILE__ ": All tests passed.\n";
    86   std::cout << __FILE__ ": All tests passed.\n";
    80 
    87 
    81   return 0;
    88   return 0;
    82 }
    89 }