test/graph_test.h
changeset 708 994c7df296c9
parent 374 49d9a36b3b84
     1.1 --- a/test/graph_test.h	Fri Nov 13 12:33:33 2009 +0100
     1.2 +++ b/test/graph_test.h	Thu Dec 10 17:05:35 2009 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4   *
     1.5   * This file is a part of LEMON, a generic C++ optimization library.
     1.6   *
     1.7 - * Copyright (C) 2003-2008
     1.8 + * Copyright (C) 2003-2009
     1.9   * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    1.10   * (Egervary Research Group on Combinatorial Optimization, EGRES).
    1.11   *
    1.12 @@ -117,6 +117,15 @@
    1.13    }
    1.14  
    1.15    template <class Graph>
    1.16 +  void checkGraphIncEdgeArcLists(const Graph &G, typename Graph::Node n,
    1.17 +                                 int cnt)
    1.18 +  {
    1.19 +    checkGraphIncEdgeList(G, n, cnt);
    1.20 +    checkGraphOutArcList(G, n, cnt);
    1.21 +    checkGraphInArcList(G, n, cnt);
    1.22 +  }
    1.23 +
    1.24 +  template <class Graph>
    1.25    void checkGraphConArcList(const Graph &G, int cnt) {
    1.26      int i = 0;
    1.27      for (typename Graph::NodeIt u(G); u != INVALID; ++u) {