COIN-OR::LEMON - Graph Library

Changeset 998:89969b303727 in lemon-0.x for src/test


Ignore:
Timestamp:
11/16/04 14:03:47 (20 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1388
Message:

ErasingFirstGraphWrapper?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/test/graph_wrapper_test.cc

    r997 r998  
    4343{
    4444  {
    45     checkConcept<StaticGraph, GraphWrapper<StaticGraph> >();
     45    typedef StaticGraph Graph;
     46    checkConcept<StaticGraph, GraphWrapper<Graph> >();
    4647
    47     checkConcept<StaticGraph, RevGraphWrapper<StaticGraph> >();
     48    checkConcept<StaticGraph, RevGraphWrapper<Graph> >();
    4849
    49     checkConcept<StaticGraph, SubGraphWrapper<StaticGraph,
    50       StaticGraph::NodeMap<bool> , StaticGraph::EdgeMap<bool> > >();
    51     checkConcept<StaticGraph, NodeSubGraphWrapper<StaticGraph,
    52       StaticGraph::NodeMap<bool> > >();
    53     checkConcept<StaticGraph, EdgeSubGraphWrapper<StaticGraph,
    54       StaticGraph::EdgeMap<bool> > >();
     50    checkConcept<StaticGraph, SubGraphWrapper<Graph,
     51      Graph::NodeMap<bool> , Graph::EdgeMap<bool> > >();
     52    checkConcept<StaticGraph, NodeSubGraphWrapper<Graph,
     53      Graph::NodeMap<bool> > >();
     54    checkConcept<StaticGraph, EdgeSubGraphWrapper<Graph,
     55      Graph::EdgeMap<bool> > >();
    5556   
    56     checkConcept<StaticGraph, SubBidirGraphWrapper<StaticGraph,
    57       StaticGraph::EdgeMap<bool>, StaticGraph::EdgeMap<bool> > >();
     57    checkConcept<StaticGraph, SubBidirGraphWrapper<Graph,
     58      Graph::EdgeMap<bool>, Graph::EdgeMap<bool> > >();
     59    checkConcept<StaticGraph, BidirGraph<Graph> >();
     60    checkConcept<StaticGraph, ResGraphWrapper<Graph, int,
     61      Graph::EdgeMap<int>, Graph::EdgeMap<int> > >();
    5862
    59     checkConcept<StaticGraph, BidirGraph<StaticGraph> >();
    60 
    61     checkConcept<StaticGraph, ResGraphWrapper<StaticGraph, int,
    62       StaticGraph::EdgeMap<int>, StaticGraph::EdgeMap<int> > >();
    63 
    64 //     function_requires<StaticGraphConcept<ErasingFirstGraphWrapper<Graph, Graph::NodeMap<Graph::Edge> > > >();
     63    checkConcept<StaticGraph, ErasingFirstGraphWrapper<Graph,
     64      Graph::NodeMap<Graph::Edge> > >();
    6565  }
    6666  std::cout << __FILE__ ": All tests passed.\n";
Note: See TracChangeset for help on using the changeset viewer.