COIN-OR::LEMON - Graph Library

source: lemon-0.x/test/edge_set_test.cc @ 2553:bfced05fa852

Last change on this file since 2553:bfced05fa852 was 2553:bfced05fa852, checked in by Alpar Juttner, 12 years ago

Happy New Year to LEMON (+ better update-copyright-header script)

File size: 1.2 KB
Line 
1/* -*- C++ -*-
2 *
3 * This file is a part of LEMON, a generic C++ optimization library
4 *
5 * Copyright (C) 2003-2008
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
7 * (Egervary Research Group on Combinatorial Optimization, EGRES).
8 *
9 * Permission to use, modify and distribute this software is granted
10 * provided that this copyright notice appears in all copies. For
11 * precise terms see the accompanying LICENSE file.
12 *
13 * This software is provided "AS IS" with no warranty of any kind,
14 * express or implied, and with no claim as to its suitability for any
15 * purpose.
16 *
17 */
18
19#include <iostream>
20#include <vector>
21
22#include <lemon/concepts/graph.h>
23#include <lemon/concepts/ugraph.h>
24#include <lemon/smart_graph.h>
25
26#include <lemon/edge_set.h>
27
28#include "test_tools.h"
29#include "graph_test.h"
30#include "map_test.h"
31
32
33using namespace lemon;
34using namespace lemon::concepts;
35
36typedef SmartGraph RGraph;
37
38int main() {
39  { // checking edge_sets
40    checkConcept<Graph, ListEdgeSet<RGraph> >();
41    checkConcept<UGraph, ListUEdgeSet<RGraph> >();
42    checkConcept<Graph, SmartEdgeSet<RGraph> >();
43    checkConcept<UGraph, SmartUEdgeSet<RGraph> >();
44  }
45
46  std::cout << __FILE__ ": All tests passed.\n";
47
48  return 0;
49}
Note: See TracBrowser for help on using the repository browser.