test/digraph_test.cc
changeset 1028 4441b066368c
parent 998 7fdaa05a69a1
child 1084 8b2d4e5d96e4
equal deleted inserted replaced
21:1169fb3b054f 22:9d24a6bae352
   440 
   440 
   441   SmartDigraph::Arc
   441   SmartDigraph::Arc
   442     a2 = g.addArc(n2, n1),
   442     a2 = g.addArc(n2, n1),
   443     a3 = g.addArc(n2, n3),
   443     a3 = g.addArc(n2, n3),
   444     a4 = g.addArc(n2, n3);
   444     a4 = g.addArc(n2, n3);
       
   445   ignore_unused_variable_warning(a2,a3,a4);
   445 
   446 
   446   digraphCopy(g, G).nodeRef(nref).run();
   447   digraphCopy(g, G).nodeRef(nref).run();
   447 
   448 
   448   checkGraphNodeList(G, 3);
   449   checkGraphNodeList(G, 3);
   449   checkGraphArcList(G, 4);
   450   checkGraphArcList(G, 4);