| Rev | Line | |
|---|
| [962] | 1 | // -*- C++ -*- |
|---|
| 2 | |
|---|
| 3 | #include <lemon/undir_graph_extender.h> |
|---|
| 4 | #include <lemon/concept/undir_graph.h> |
|---|
| 5 | #include <lemon/list_graph.h> |
|---|
| 6 | #include <lemon/smart_graph.h> |
|---|
| 7 | #include <lemon/full_graph.h> |
|---|
| 8 | |
|---|
| 9 | #include "test_tools.h" |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | using namespace lemon; |
|---|
| 13 | using namespace lemon::concept; |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | int main() { |
|---|
| 17 | typedef UndirGraphExtender<ListGraphBase> UndirListGraphBase; |
|---|
| 18 | |
|---|
| 19 | typedef IterableUndirGraphExtender< |
|---|
| 20 | AlterableUndirGraphExtender<UndirListGraphBase> > IterableUndirListGraph; |
|---|
| 21 | |
|---|
| [1022] | 22 | typedef MappableUndirGraphExtender<IterableUndirListGraph> |
|---|
| 23 | MappableUndirListGraph; |
|---|
| 24 | |
|---|
| 25 | typedef ErasableUndirGraphExtender< |
|---|
| 26 | ClearableUndirGraphExtender< |
|---|
| 27 | ExtendableUndirGraphExtender<MappableUndirListGraph> > > Graph; |
|---|
| 28 | |
|---|
| 29 | checkConcept<BaseIterableUndirGraphConcept, Graph>(); |
|---|
| 30 | checkConcept<IterableUndirGraphConcept, Graph>(); |
|---|
| 31 | checkConcept<MappableUndirGraphConcept, Graph>(); |
|---|
| 32 | |
|---|
| 33 | checkConcept<UndirGraph, Graph>(); |
|---|
| 34 | checkConcept<ErasableUndirGraph, Graph>(); |
|---|
| [962] | 35 | |
|---|
| 36 | return 0; |
|---|
| 37 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.