COIN-OR::LEMON - Graph Library

Changeset 1980:a954b780e3ab in lemon-0.x for test/graph_adaptor_test.cc


Ignore:
Timestamp:
02/23/06 09:55:54 (18 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2573
Message:

Renaming to be convient to the naming of the adaptors
Concept checking of the ugraph adaptors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/graph_adaptor_test.cc

    r1979 r1980  
    2727#include<lemon/full_graph.h>
    2828#include<lemon/graph_adaptor.h>
     29#include<lemon/ugraph_adaptor.h>
    2930
    3031#include"test/test_tools.h"
     
    6768      Graph::NodeMap<Graph::Edge> > >();
    6869
    69     /// \bug why does not compile with StaticGraph
    70     checkConcept<UGraph, UndirectGraphAdaptor<ListGraph> >();
     70    checkConcept<UGraph, UndirGraphAdaptor<Graph> >();
     71
     72    checkConcept<UGraph, SubUGraphAdaptor<UGraph,
     73      UGraph::NodeMap<bool> , UGraph::UEdgeMap<bool> > >();
     74    checkConcept<UGraph, NodeSubUGraphAdaptor<UGraph,
     75      UGraph::NodeMap<bool> > >();
     76    checkConcept<UGraph, EdgeSubUGraphAdaptor<UGraph,
     77      UGraph::UEdgeMap<bool> > >();
     78
     79    checkConcept<StaticGraph, DirUGraphAdaptor<UGraph,
     80      UGraph::UEdgeMap<bool> > >();
    7181  }
    7282  std::cout << __FILE__ ": All tests passed.\n";
Note: See TracChangeset for help on using the changeset viewer.