1.1 --- a/test/connectivity_test.cc Thu Mar 28 14:52:43 2013 +0100
1.2 +++ b/test/connectivity_test.cc Fri Aug 09 14:07:27 2013 +0200
1.3 @@ -99,6 +99,23 @@
1.4 }
1.5
1.6 {
1.7 + ListGraph g;
1.8 + ListGraph::NodeMap<bool> map(g);
1.9 +
1.10 + ListGraph::Node n1 = g.addNode();
1.11 + ListGraph::Node n2 = g.addNode();
1.12 +
1.13 + ListGraph::Edge e1 = g.addEdge(n1, n2);
1.14 + ::lemon::ignore_unused_variable_warning(e1);
1.15 + check(biNodeConnected(g), "Graph is bi-node-connected");
1.16 +
1.17 + ListGraph::Node n3 = g.addNode();
1.18 + ::lemon::ignore_unused_variable_warning(n3);
1.19 + check(!biNodeConnected(g), "Graph is not bi-node-connected");
1.20 + }
1.21 +
1.22 +
1.23 + {
1.24 Digraph d;
1.25 Digraph::NodeMap<int> order(d);
1.26 Graph g(d);