alpar@1041: #include alpar@1041: #include alpar@1041: #include alpar@1041: alpar@1041: #include "test_tools.h" alpar@1041: alpar@1041: using namespace lemon; alpar@1041: using namespace lemon::concept; alpar@1041: alpar@1041: struct A {}; alpar@1041: struct B {}; alpar@1041: alpar@1041: typedef ReadMap DoubleMap; alpar@1041: alpar@1041: int main() alpar@1041: { // checking graph components alpar@1041: alpar@1041: checkConcept, ReadMap >(); alpar@1041: checkConcept, WriteMap >(); alpar@1041: checkConcept, ReadWriteMap >(); alpar@1041: checkConcept, ReferenceMap >(); alpar@1041: alpar@1041: checkConcept, AddMap >(); alpar@1041: checkConcept, SubMap >(); alpar@1041: checkConcept, MulMap >(); alpar@1041: checkConcept, DivMap >(); alpar@1041: checkConcept, NegMap >(); alpar@1041: checkConcept, AbsMap >(); alpar@1070: checkConcept, ShiftMap >(); alpar@1070: checkConcept, ScaleMap >(); alpar@1041: alpar@1041: checkConcept, ComposeMap > >(); alpar@1041: alpar@1041: std::cout << __FILE__ ": All tests passed.\n"; alpar@1041: alpar@1041: return 0; alpar@1041: }