equal
deleted
inserted
replaced
376 } |
376 } |
377 |
377 |
378 void checkFullDigraph(int num) { |
378 void checkFullDigraph(int num) { |
379 typedef FullDigraph Digraph; |
379 typedef FullDigraph Digraph; |
380 DIGRAPH_TYPEDEFS(Digraph); |
380 DIGRAPH_TYPEDEFS(Digraph); |
|
381 |
381 Digraph G(num); |
382 Digraph G(num); |
|
383 check(G.nodeNum() == num && G.arcNum() == num * num, "Wrong size"); |
|
384 |
|
385 G.resize(num); |
|
386 check(G.nodeNum() == num && G.arcNum() == num * num, "Wrong size"); |
382 |
387 |
383 checkGraphNodeList(G, num); |
388 checkGraphNodeList(G, num); |
384 checkGraphArcList(G, num * num); |
389 checkGraphArcList(G, num * num); |
385 |
390 |
386 for (NodeIt n(G); n != INVALID; ++n) { |
391 for (NodeIt n(G); n != INVALID; ++n) { |