Changeset 1197:f179aa1045a4 in lemon-main for test
- Timestamp:
- 11/01/18 11:27:05 (6 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/adaptors_test.cc
r1092 r1197 146 146 // Check the conversion of nodes and arcs 147 147 Digraph::Node nd = n4; 148 ::lemon::ignore_unused_variable_warning(nd); 148 149 nd = n4; 149 150 Adaptor::Node na = n1; 151 ::lemon::ignore_unused_variable_warning(na); 150 152 na = n2; 151 153 Digraph::Arc ad = a4; 154 ::lemon::ignore_unused_variable_warning(ad); 152 155 ad = a5; 153 156 Adaptor::Arc aa = a1; 157 ::lemon::ignore_unused_variable_warning(aa); 154 158 aa = a2; 155 159 } … … 270 274 // Check the conversion of nodes and arcs 271 275 Digraph::Node nd = n3; 276 ::lemon::ignore_unused_variable_warning(nd); 272 277 nd = n3; 273 278 Adaptor::Node na = n1; 279 ::lemon::ignore_unused_variable_warning(na); 274 280 na = n2; 275 281 Digraph::Arc ad = a3; 282 ::lemon::ignore_unused_variable_warning(ad); 276 283 ad = a3; 277 284 Adaptor::Arc aa = a1; 285 ::lemon::ignore_unused_variable_warning(aa); 278 286 aa = a2; 279 287 } … … 366 374 // Check the conversion of nodes and arcs 367 375 Digraph::Node nd = n3; 376 ::lemon::ignore_unused_variable_warning(nd); 368 377 nd = n3; 369 378 Adaptor::Node na = n1; 379 ::lemon::ignore_unused_variable_warning(na); 370 380 na = n2; 371 381 Digraph::Arc ad = a3; 382 ::lemon::ignore_unused_variable_warning(ad); 372 383 ad = a3; 373 384 Adaptor::Arc aa = a1; 385 ::lemon::ignore_unused_variable_warning(aa); 374 386 aa = a2; 375 387 } … … 464 476 // Check the conversion of nodes and arcs 465 477 Digraph::Node nd = n3; 478 ::lemon::ignore_unused_variable_warning(nd); 466 479 nd = n3; 467 480 Adaptor::Node na = n1; 481 ::lemon::ignore_unused_variable_warning(na); 468 482 na = n2; 469 483 Digraph::Arc ad = a3; 484 ::lemon::ignore_unused_variable_warning(ad); 470 485 ad = a3; 471 486 Adaptor::Arc aa = a1; 487 ::lemon::ignore_unused_variable_warning(aa); 472 488 aa = a2; 473 489 } … … 575 591 // Check the conversion of nodes and arcs/edges 576 592 Digraph::Node nd = n3; 593 ::lemon::ignore_unused_variable_warning(nd); 577 594 nd = n3; 578 595 Adaptor::Node na = n1; 596 ::lemon::ignore_unused_variable_warning(na); 579 597 na = n2; 580 598 Digraph::Arc ad = e3; 599 ::lemon::ignore_unused_variable_warning(ad); 581 600 ad = e3; 582 601 Adaptor::Edge ea = a1; 602 ::lemon::ignore_unused_variable_warning(ea); 583 603 ea = a2; 584 604 } … … 735 755 // Check the conversion of nodes and arcs 736 756 Digraph::Node nd = Adaptor::NodeIt(adaptor); 757 ::lemon::ignore_unused_variable_warning(nd); 737 758 nd = ++Adaptor::NodeIt(adaptor); 738 759 Adaptor::Node na = n1; 760 ::lemon::ignore_unused_variable_warning(na); 739 761 na = n2; 740 762 Digraph::Arc ad = Adaptor::ArcIt(adaptor); 763 ::lemon::ignore_unused_variable_warning(ad); 741 764 ad = ++Adaptor::ArcIt(adaptor); 742 765 } … … 988 1011 // Check the conversion of nodes and edges 989 1012 Graph::Node ng = n3; 1013 ::lemon::ignore_unused_variable_warning(ng); 990 1014 ng = n4; 991 1015 Adaptor::Node na = n1; 1016 ::lemon::ignore_unused_variable_warning(na); 992 1017 na = n2; 993 1018 Graph::Edge eg = e3; 1019 ::lemon::ignore_unused_variable_warning(eg); 994 1020 eg = e4; 995 1021 Adaptor::Edge ea = e1; 1022 ::lemon::ignore_unused_variable_warning(ea); 996 1023 ea = e2; 997 1024 } … … 1093 1120 // Check the conversion of nodes and edges 1094 1121 Graph::Node ng = n3; 1122 ::lemon::ignore_unused_variable_warning(ng); 1095 1123 ng = n4; 1096 1124 Adaptor::Node na = n1; 1125 ::lemon::ignore_unused_variable_warning(na); 1097 1126 na = n2; 1098 1127 Graph::Edge eg = e3; 1128 ::lemon::ignore_unused_variable_warning(eg); 1099 1129 eg = e4; 1100 1130 Adaptor::Edge ea = e1; 1131 ::lemon::ignore_unused_variable_warning(ea); 1101 1132 ea = e2; 1102 1133 } … … 1199 1230 // Check the conversion of nodes and edges 1200 1231 Graph::Node ng = n3; 1232 ::lemon::ignore_unused_variable_warning(ng); 1201 1233 ng = n4; 1202 1234 Adaptor::Node na = n1; 1235 ::lemon::ignore_unused_variable_warning(na); 1203 1236 na = n2; 1204 1237 Graph::Edge eg = e3; 1238 ::lemon::ignore_unused_variable_warning(eg); 1205 1239 eg = e4; 1206 1240 Adaptor::Edge ea = e1; 1241 ::lemon::ignore_unused_variable_warning(ea); 1207 1242 ea = e2; 1208 1243 } … … 1357 1392 // Check the conversion of nodes and arcs/edges 1358 1393 Graph::Node ng = n3; 1394 ::lemon::ignore_unused_variable_warning(ng); 1359 1395 ng = n3; 1360 1396 Adaptor::Node na = n1; 1397 ::lemon::ignore_unused_variable_warning(na); 1361 1398 na = n2; 1362 1399 Graph::Edge eg = e3; 1400 ::lemon::ignore_unused_variable_warning(eg); 1363 1401 eg = e3; 1364 1402 Adaptor::Arc aa = e1; 1403 ::lemon::ignore_unused_variable_warning(aa); 1365 1404 aa = e2; 1366 1405 }
Note: See TracChangeset
for help on using the changeset viewer.