COIN-OR::LEMON - Graph Library

Changeset 1728:eb8bb91ba9e2 in lemon-0.x for test/graph_test.h


Ignore:
Timestamp:
10/14/05 13:03:40 (19 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2255
Message:

Updating tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/graph_test.h

    r1435 r1728  
    1717#define LEMON_TEST_GRAPH_TEST_H
    1818
    19 
     19#include <lemon/graph_utils.h>
    2020#include "test_tools.h"
    2121
     
    8181  }
    8282
     83  template <class Graph>
     84  void checkGraphIterators(const Graph& graph) {
     85    typedef typename Graph::Node Node;
     86    typedef typename Graph::NodeIt NodeIt;
     87    typedef typename Graph::Edge Edge;
     88    typedef typename Graph::EdgeIt EdgeIt;
     89    typedef typename Graph::InEdgeIt InEdgeIt;
     90    typedef typename Graph::OutEdgeIt OutEdgeIt;
     91    typedef ConEdgeIt<Graph> ConEdgeIt;
     92   
     93    for (NodeIt it(graph); it != INVALID; ++it) {}
     94  }
     95
    8396  ///\file
    8497  ///\todo Check target(), source() as well;
Note: See TracChangeset for help on using the changeset viewer.