test/graph_adaptor_test.cc
changeset 1936 0722ea2b0907
parent 1875 98698b69a902
child 1956 a055123339d5
equal deleted inserted replaced
1:dc9bd9e1ccce 2:c80bc63fc7ca
    17 #include<iostream>
    17 #include<iostream>
    18 #include<lemon/concept_check.h>
    18 #include<lemon/concept_check.h>
    19 
    19 
    20 #include<lemon/smart_graph.h>
    20 #include<lemon/smart_graph.h>
    21 #include<lemon/concept/graph.h>
    21 #include<lemon/concept/graph.h>
    22 #include<lemon/concept/undir_graph.h>
    22 #include<lemon/concept/ugraph.h>
    23 
    23 
    24 #include<lemon/list_graph.h>
    24 #include<lemon/list_graph.h>
    25 #include<lemon/full_graph.h>
    25 #include<lemon/full_graph.h>
    26 #include<lemon/graph_adaptor.h>
    26 #include<lemon/graph_adaptor.h>
    27 
    27 
    63 
    63 
    64     checkConcept<StaticGraph, ErasingFirstGraphAdaptor<Graph, 
    64     checkConcept<StaticGraph, ErasingFirstGraphAdaptor<Graph, 
    65       Graph::NodeMap<Graph::Edge> > >(); 
    65       Graph::NodeMap<Graph::Edge> > >(); 
    66 
    66 
    67     /// \bug why does not compile with StaticGraph
    67     /// \bug why does not compile with StaticGraph
    68     checkConcept<BaseIterableUndirGraphConcept, UndirGraphAdaptor<ListGraph> >();
    68     checkConcept<BaseIterableUGraphConcept, UGraphAdaptor<ListGraph> >();
    69     checkConcept<IterableUndirGraphConcept, UndirGraphAdaptor<ListGraph> >();
    69     checkConcept<IterableUGraphConcept, UGraphAdaptor<ListGraph> >();
    70     checkConcept<MappableUndirGraphConcept, UndirGraphAdaptor<ListGraph> >();
    70     checkConcept<MappableUGraphConcept, UGraphAdaptor<ListGraph> >();
    71   }
    71   }
    72   std::cout << __FILE__ ": All tests passed.\n";
    72   std::cout << __FILE__ ": All tests passed.\n";
    73 
    73 
    74   return 0;
    74   return 0;
    75 }
    75 }