COIN-OR::LEMON - Graph Library

source: lemon-0.x/test/edge_set_test.cc @ 2058:0b1fc1566fdb

Last change on this file since 2058:0b1fc1566fdb was 1990:15fb7a4ea6be, checked in by Balazs Dezso, 18 years ago

Some classes assumed that the GraphMaps? should be inherited
from an ObserverBase?. These classes parents replaced with
DefaultMap? which cause that the graph maps should not be
inherited from the ObserverBase?.

File size: 656 bytes
Line 
1// -*- c++ -*-
2
3#include <iostream>
4#include <vector>
5
6#include <lemon/concept/graph.h>
7#include <lemon/concept/ugraph.h>
8#include <lemon/smart_graph.h>
9
10#include <lemon/edge_set.h>
11
12#include "test_tools.h"
13#include "graph_test.h"
14#include "map_test.h"
15
16
17using namespace lemon;
18using namespace lemon::concept;
19
20typedef SmartGraph Graph;
21
22int main() {
23  { // checking edge_sets
24    checkConcept<StaticGraph, ListEdgeSet<Graph> >();
25    checkConcept<UGraph, ListUEdgeSet<Graph> >();
26    checkConcept<StaticGraph, SmartEdgeSet<Graph> >();
27    checkConcept<UGraph, SmartUEdgeSet<Graph> >();
28  }
29
30  std::cout << __FILE__ ": All tests passed.\n";
31
32  return 0;
33}
Note: See TracBrowser for help on using the repository browser.