COIN-OR::LEMON - Graph Library

source: lemon-0.x/test/edge_set_test.cc @ 2321:e23a610bed51

Last change on this file since 2321:e23a610bed51 was 2260:4274224f8a7d, checked in by Alpar Juttner, 18 years ago

concept -> concepts (namespace & directory)

File size: 652 bytes
RevLine 
[1962]1// -*- c++ -*-
2
3#include <iostream>
4#include <vector>
5
[2260]6#include <lemon/concepts/graph.h>
7#include <lemon/concepts/ugraph.h>
[1962]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;
[2260]18using namespace lemon::concepts;
[1962]19
[2111]20typedef SmartGraph RGraph;
[1962]21
22int main() {
23  { // checking edge_sets
[2111]24    checkConcept<Graph, ListEdgeSet<RGraph> >();
25    checkConcept<UGraph, ListUEdgeSet<RGraph> >();
26    checkConcept<Graph, SmartEdgeSet<RGraph> >();
27    checkConcept<UGraph, SmartUEdgeSet<RGraph> >();
[1962]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.