test/graph_test.h
changeset 387 49d9a36b3b84
parent 263 be8a861d3bb7
child 463 88ed40ad0d4f
     1.1 --- a/test/graph_test.h	Fri Nov 07 12:00:53 2008 +0100
     1.2 +++ b/test/graph_test.h	Fri Nov 07 12:15:16 2008 +0100
     1.3 @@ -117,6 +117,15 @@
     1.4    }
     1.5  
     1.6    template <class Graph>
     1.7 +  void checkGraphIncEdgeArcLists(const Graph &G, typename Graph::Node n,
     1.8 +                                 int cnt)
     1.9 +  {
    1.10 +    checkGraphIncEdgeList(G, n, cnt);
    1.11 +    checkGraphOutArcList(G, n, cnt);
    1.12 +    checkGraphInArcList(G, n, cnt);
    1.13 +  }
    1.14 +
    1.15 +  template <class Graph>
    1.16    void checkGraphConArcList(const Graph &G, int cnt) {
    1.17      int i = 0;
    1.18      for (typename Graph::NodeIt u(G); u != INVALID; ++u) {