test/euler_test.cc
branch1.1
changeset 1243 79f149ee0230
parent 1081 f1398882a928
parent 1157 761fe0846f49
child 1258 bdfc038f364c
equal deleted inserted replaced
4:77a0f0a94e53 6:e550ec0473d4
    99   }
    99   }
   100   {
   100   {
   101     Digraph d;
   101     Digraph d;
   102     Graph g(d);
   102     Graph g(d);
   103     Digraph::Node n = d.addNode();
   103     Digraph::Node n = d.addNode();
   104 
   104     ignore_unused_variable_warning(n);
       
   105   
   105     checkDiEulerIt(d);
   106     checkDiEulerIt(d);
   106     checkDiEulerIt(g);
   107     checkDiEulerIt(g);
   107     checkEulerIt(g);
   108     checkEulerIt(g);
   108 
   109 
   109     check(eulerian(d), "This graph is Eulerian");
   110     check(eulerian(d), "This graph is Eulerian");
   187     Digraph::Node n1 = d.addNode();
   188     Digraph::Node n1 = d.addNode();
   188     Digraph::Node n2 = d.addNode();
   189     Digraph::Node n2 = d.addNode();
   189     Digraph::Node n3 = d.addNode();
   190     Digraph::Node n3 = d.addNode();
   190     Digraph::Node n4 = d.addNode();
   191     Digraph::Node n4 = d.addNode();
   191     Digraph::Node n5 = d.addNode();
   192     Digraph::Node n5 = d.addNode();
       
   193     ignore_unused_variable_warning(n0,n4,n5);
   192 
   194 
   193     d.addArc(n1, n2);
   195     d.addArc(n1, n2);
   194     d.addArc(n2, n3);
   196     d.addArc(n2, n3);
   195     d.addArc(n3, n1);
   197     d.addArc(n3, n1);
   196 
   198