1.1 --- a/test/ugraph_test.cc Wed Jul 05 16:59:45 2006 +0000
1.2 +++ b/test/ugraph_test.cc Mon Jul 10 19:04:17 2006 +0000
1.3 @@ -32,15 +32,34 @@
1.4 using namespace lemon::concept;
1.5
1.6 void check_concepts() {
1.7 - checkConcept<UGraph, ListUGraph>();
1.8
1.9 - checkConcept<UGraph, SmartUGraph>();
1.10 + { // checking graph components
1.11 + checkConcept<BaseUGraphComponent, BaseUGraphComponent >();
1.12
1.13 - checkConcept<UGraph, FullUGraph>();
1.14 + checkConcept<BaseIterableUGraphComponent<>,
1.15 + BaseIterableUGraphComponent<> >();
1.16
1.17 - checkConcept<UGraph, UGraph>();
1.18 + checkConcept<IDableUGraphComponent<>,
1.19 + IDableUGraphComponent<> >();
1.20
1.21 - checkConcept<UGraph, GridUGraph>();
1.22 + checkConcept<IterableUGraphComponent<>,
1.23 + IterableUGraphComponent<> >();
1.24 +
1.25 + checkConcept<MappableUGraphComponent<>,
1.26 + MappableUGraphComponent<> >();
1.27 +
1.28 + }
1.29 + {
1.30 + checkConcept<UGraph, ListUGraph>();
1.31 +
1.32 + checkConcept<UGraph, SmartUGraph>();
1.33 +
1.34 + checkConcept<UGraph, FullUGraph>();
1.35 +
1.36 + checkConcept<UGraph, UGraph>();
1.37 +
1.38 + checkConcept<UGraph, GridUGraph>();
1.39 + }
1.40 }
1.41
1.42 template <typename Graph>