COIN-OR::LEMON - Graph Library

Changeset 387:49d9a36b3b84 in lemon for test/graph_test.h


Ignore:
Timestamp:
11/07/08 12:15:16 (11 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
388:2d87dbd7f8c8, 389:a0b5131b958e
Phase:
public
Message:

Extend test cases for graphs and digraphs (#172)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/graph_test.h

    r263 r387  
    115115    check(e==INVALID,"Wrong IncEdge list linking.");
    116116    check(countIncEdges(G,n)==cnt,"Wrong IncEdge number.");
     117  }
     118
     119  template <class Graph>
     120  void checkGraphIncEdgeArcLists(const Graph &G, typename Graph::Node n,
     121                                 int cnt)
     122  {
     123    checkGraphIncEdgeList(G, n, cnt);
     124    checkGraphOutArcList(G, n, cnt);
     125    checkGraphInArcList(G, n, cnt);
    117126  }
    118127
Note: See TracChangeset for help on using the changeset viewer.