| Rev | Line | |
|---|
| [2391] | 1 | /* -*- C++ -*- |
|---|
| 2 | * |
|---|
| 3 | * This file is a part of LEMON, a generic C++ optimization library |
|---|
| 4 | * |
|---|
| [2553] | 5 | * Copyright (C) 2003-2008 |
|---|
| [2391] | 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 | */ |
|---|
| [1962] | 18 | |
|---|
| 19 | #include <iostream> |
|---|
| 20 | #include <vector> |
|---|
| 21 | |
|---|
| [2260] | 22 | #include <lemon/concepts/graph.h> |
|---|
| 23 | #include <lemon/concepts/ugraph.h> |
|---|
| [1962] | 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 | |
|---|
| 33 | using namespace lemon; |
|---|
| [2260] | 34 | using namespace lemon::concepts; |
|---|
| [1962] | 35 | |
|---|
| [2111] | 36 | typedef SmartGraph RGraph; |
|---|
| [1962] | 37 | |
|---|
| 38 | int main() { |
|---|
| 39 | { // checking edge_sets |
|---|
| [2111] | 40 | checkConcept<Graph, ListEdgeSet<RGraph> >(); |
|---|
| 41 | checkConcept<UGraph, ListUEdgeSet<RGraph> >(); |
|---|
| 42 | checkConcept<Graph, SmartEdgeSet<RGraph> >(); |
|---|
| 43 | checkConcept<UGraph, SmartUEdgeSet<RGraph> >(); |
|---|
| [1962] | 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.