test/graph_test.h
changeset 784 1a7fe3bef514
parent 374 49d9a36b3b84
     1.1 --- a/test/graph_test.h	Fri Oct 16 10:21:37 2009 +0200
     1.2 +++ b/test/graph_test.h	Thu Nov 05 15:50:01 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) {