diff -r 080d51024ac5 -r 18c08f9129e4 test/maps_test.cc --- a/test/maps_test.cc Mon Apr 03 09:45:23 2006 +0000 +++ b/test/maps_test.cc Mon Apr 03 16:03:37 2006 +0000 @@ -16,6 +16,9 @@ * */ +#include +#include + #include #include #include @@ -26,6 +29,7 @@ using namespace lemon::concept; struct A {}; +inline bool operator<(A, A) { return true; } struct B {}; class F { @@ -41,6 +45,10 @@ int binc(int, B) {return 4;} typedef ReadMap DoubleMap; +typedef ReadWriteMap WriteDoubleMap; + +typedef ReadMap BoolMap; +typedef ReadWriteMap BoolWriteMap; int main() { // checking graph components @@ -55,14 +63,30 @@ checkConcept, MulMap >(); checkConcept, DivMap >(); checkConcept, NegMap >(); + checkConcept, NegWriteMap >(); checkConcept, AbsMap >(); checkConcept, ShiftMap >(); + checkConcept, ShiftWriteMap >(); checkConcept, ScaleMap >(); + checkConcept, ScaleWriteMap >(); + checkConcept, ForkMap >(); + checkConcept, + ForkWriteMap >(); checkConcept, ComposeMap > >(); checkConcept, FunctorMap >(); + checkConcept, NotMap >(); + checkConcept, NotWriteMap >(); + + checkConcept, StoreBoolMap >(); + checkConcept, BackInserterBoolMap > >(); + checkConcept, FrontInserterBoolMap > >(); + checkConcept, InserterBoolMap > >(); + checkConcept, FillBoolMap > >(); + checkConcept, SettingOrderBoolMap > >(); + int a; a=mapFunctor(constMap(2))(A());