Changeset 724:d8073df341f6 in lemon-main for test
- Timestamp:
- 09/25/09 12:22:42 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/maps_test.cc
r723 r724 527 527 Graph gr; 528 528 typedef CrossRefMap<Graph, Node, char> CRMap; 529 typedef CRMap::ValueIterator ValueIt;530 529 CRMap map(gr); 531 530 … … 547 546 "Wrong CrossRefMap::count()"); 548 547 549 ValueIt it = map.beginValue();548 CRMap::ValueIt it = map.beginValue(); 550 549 check(*it++ == 'A' && *it++ == 'B' && *it++ == 'C' && 551 550 it == map.endValue(), "Wrong value iterator"); … … 743 742 } 744 743 745 for (Ivm::ValueIt eratorvit = map1.beginValue();744 for (Ivm::ValueIt vit = map1.beginValue(); 746 745 vit != map1.endValue(); ++vit) { 747 746 check(map1[static_cast<Item>(Ivm::ItemIt(map1, *vit))] == *vit, 748 "Wrong ValueIt erator");747 "Wrong ValueIt"); 749 748 } 750 749
Note: See TracChangeset
for help on using the changeset viewer.