test/adaptors_test.cc
branch1.3
changeset 1422 332eab7995fe
parent 1270 dceba191c00d
     1.1 --- a/test/adaptors_test.cc	Wed Oct 17 19:18:04 2018 +0200
     1.2 +++ b/test/adaptors_test.cc	Thu Nov 01 19:49:08 2018 +0100
     1.3 @@ -145,12 +145,16 @@
     1.4  
     1.5    // Check the conversion of nodes and arcs
     1.6    Digraph::Node nd = n4;
     1.7 +  ::lemon::ignore_unused_variable_warning(nd);
     1.8    nd = n4;
     1.9    Adaptor::Node na = n1;
    1.10 +  ::lemon::ignore_unused_variable_warning(na);
    1.11    na = n2;
    1.12    Digraph::Arc ad = a4;
    1.13 +  ::lemon::ignore_unused_variable_warning(ad);
    1.14    ad = a5;
    1.15    Adaptor::Arc aa = a1;
    1.16 +  ::lemon::ignore_unused_variable_warning(aa);
    1.17    aa = a2;
    1.18  }
    1.19  
    1.20 @@ -269,12 +273,16 @@
    1.21  
    1.22    // Check the conversion of nodes and arcs
    1.23    Digraph::Node nd = n3;
    1.24 +  ::lemon::ignore_unused_variable_warning(nd);
    1.25    nd = n3;
    1.26    Adaptor::Node na = n1;
    1.27 +  ::lemon::ignore_unused_variable_warning(na);
    1.28    na = n2;
    1.29    Digraph::Arc ad = a3;
    1.30 +  ::lemon::ignore_unused_variable_warning(ad);
    1.31    ad = a3;
    1.32    Adaptor::Arc aa = a1;
    1.33 +  ::lemon::ignore_unused_variable_warning(aa);
    1.34    aa = a2;
    1.35  }
    1.36  
    1.37 @@ -365,12 +373,16 @@
    1.38  
    1.39    // Check the conversion of nodes and arcs
    1.40    Digraph::Node nd = n3;
    1.41 +  ::lemon::ignore_unused_variable_warning(nd);
    1.42    nd = n3;
    1.43    Adaptor::Node na = n1;
    1.44 +  ::lemon::ignore_unused_variable_warning(na);
    1.45    na = n2;
    1.46    Digraph::Arc ad = a3;
    1.47 +  ::lemon::ignore_unused_variable_warning(ad);
    1.48    ad = a3;
    1.49    Adaptor::Arc aa = a1;
    1.50 +  ::lemon::ignore_unused_variable_warning(aa);
    1.51    aa = a2;
    1.52  }
    1.53  
    1.54 @@ -463,12 +475,16 @@
    1.55  
    1.56    // Check the conversion of nodes and arcs
    1.57    Digraph::Node nd = n3;
    1.58 +  ::lemon::ignore_unused_variable_warning(nd);
    1.59    nd = n3;
    1.60    Adaptor::Node na = n1;
    1.61 +  ::lemon::ignore_unused_variable_warning(na);
    1.62    na = n2;
    1.63    Digraph::Arc ad = a3;
    1.64 +  ::lemon::ignore_unused_variable_warning(ad);
    1.65    ad = a3;
    1.66    Adaptor::Arc aa = a1;
    1.67 +  ::lemon::ignore_unused_variable_warning(aa);
    1.68    aa = a2;
    1.69  }
    1.70  
    1.71 @@ -574,12 +590,16 @@
    1.72  
    1.73    // Check the conversion of nodes and arcs/edges
    1.74    Digraph::Node nd = n3;
    1.75 +  ::lemon::ignore_unused_variable_warning(nd);
    1.76    nd = n3;
    1.77    Adaptor::Node na = n1;
    1.78 +  ::lemon::ignore_unused_variable_warning(na);
    1.79    na = n2;
    1.80    Digraph::Arc ad = e3;
    1.81 +  ::lemon::ignore_unused_variable_warning(ad);
    1.82    ad = e3;
    1.83    Adaptor::Edge ea = a1;
    1.84 +  ::lemon::ignore_unused_variable_warning(ea);
    1.85    ea = a2;
    1.86  }
    1.87  
    1.88 @@ -734,10 +754,13 @@
    1.89  
    1.90    // Check the conversion of nodes and arcs
    1.91    Digraph::Node nd = Adaptor::NodeIt(adaptor);
    1.92 +  ::lemon::ignore_unused_variable_warning(nd);
    1.93    nd = ++Adaptor::NodeIt(adaptor);
    1.94    Adaptor::Node na = n1;
    1.95 +  ::lemon::ignore_unused_variable_warning(na);
    1.96    na = n2;
    1.97    Digraph::Arc ad = Adaptor::ArcIt(adaptor);
    1.98 +  ::lemon::ignore_unused_variable_warning(ad);
    1.99    ad = ++Adaptor::ArcIt(adaptor);
   1.100  }
   1.101  
   1.102 @@ -987,12 +1010,16 @@
   1.103  
   1.104    // Check the conversion of nodes and edges
   1.105    Graph::Node ng = n3;
   1.106 +  ::lemon::ignore_unused_variable_warning(ng);
   1.107    ng = n4;
   1.108    Adaptor::Node na = n1;
   1.109 +  ::lemon::ignore_unused_variable_warning(na);
   1.110    na = n2;
   1.111    Graph::Edge eg = e3;
   1.112 +  ::lemon::ignore_unused_variable_warning(eg);
   1.113    eg = e4;
   1.114    Adaptor::Edge ea = e1;
   1.115 +  ::lemon::ignore_unused_variable_warning(ea);
   1.116    ea = e2;
   1.117  }
   1.118  
   1.119 @@ -1092,12 +1119,16 @@
   1.120  
   1.121    // Check the conversion of nodes and edges
   1.122    Graph::Node ng = n3;
   1.123 +  ::lemon::ignore_unused_variable_warning(ng);
   1.124    ng = n4;
   1.125    Adaptor::Node na = n1;
   1.126 +  ::lemon::ignore_unused_variable_warning(na);
   1.127    na = n2;
   1.128    Graph::Edge eg = e3;
   1.129 +  ::lemon::ignore_unused_variable_warning(eg);
   1.130    eg = e4;
   1.131    Adaptor::Edge ea = e1;
   1.132 +  ::lemon::ignore_unused_variable_warning(ea);
   1.133    ea = e2;
   1.134  }
   1.135  
   1.136 @@ -1198,12 +1229,16 @@
   1.137  
   1.138    // Check the conversion of nodes and edges
   1.139    Graph::Node ng = n3;
   1.140 +  ::lemon::ignore_unused_variable_warning(ng);
   1.141    ng = n4;
   1.142    Adaptor::Node na = n1;
   1.143 +  ::lemon::ignore_unused_variable_warning(na);
   1.144    na = n2;
   1.145    Graph::Edge eg = e3;
   1.146 +  ::lemon::ignore_unused_variable_warning(eg);
   1.147    eg = e4;
   1.148    Adaptor::Edge ea = e1;
   1.149 +  ::lemon::ignore_unused_variable_warning(ea);
   1.150    ea = e2;
   1.151  }
   1.152  
   1.153 @@ -1356,12 +1391,16 @@
   1.154  
   1.155    // Check the conversion of nodes and arcs/edges
   1.156    Graph::Node ng = n3;
   1.157 +  ::lemon::ignore_unused_variable_warning(ng);
   1.158    ng = n3;
   1.159    Adaptor::Node na = n1;
   1.160 +  ::lemon::ignore_unused_variable_warning(na);
   1.161    na = n2;
   1.162    Graph::Edge eg = e3;
   1.163 +  ::lemon::ignore_unused_variable_warning(eg);
   1.164    eg = e3;
   1.165    Adaptor::Arc aa = e1;
   1.166 +  ::lemon::ignore_unused_variable_warning(aa);
   1.167    aa = e2;
   1.168  }
   1.169