Changeset 1027:8b2b9e61d8ce in lemon-main for test/graph_test.h
- Timestamp:
- 01/11/12 22:43:50 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/graph_test.h
r1026 r1027 53 53 check(G.asRedNode(nn) == n,"Wrong node conversion."); 54 54 check(G.asBlueNode(nn) == INVALID,"Wrong node conversion."); 55 std::pair<typename Graph::RedNode, typename Graph::BlueNode> rbn =56 G.asRedBlueNode(nn);57 check(rbn.first == n,"Wrong node conversion.");58 check(rbn.second == INVALID,"Wrong node conversion.");59 55 ++n; 60 56 } … … 75 71 check(G.asBlueNode(nn) == n,"Wrong node conversion."); 76 72 check(G.asRedNode(nn) == INVALID,"Wrong node conversion."); 77 std::pair<typename Graph::RedNode, typename Graph::BlueNode> rbn =78 G.asRedBlueNode(nn);79 check(rbn.first == INVALID,"Wrong node conversion.");80 check(rbn.second == n,"Wrong node conversion.");81 73 ++n; 82 74 }
Note: See TracChangeset
for help on using the changeset viewer.