test/connectivity_test.cc
branch1.1
changeset 1267 bd24650d5cd2
parent 1258 bdfc038f364c
parent 1265 552e3d1242c6
     1.1 --- a/test/connectivity_test.cc	Wed Aug 07 06:31:47 2013 +0200
     1.2 +++ b/test/connectivity_test.cc	Fri Aug 09 14:01:24 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);