equal
deleted
inserted
replaced
15 |
15 |
16 |
16 |
17 using namespace lemon; |
17 using namespace lemon; |
18 using namespace lemon::concept; |
18 using namespace lemon::concept; |
19 |
19 |
20 typedef SmartGraph Graph; |
20 typedef SmartGraph RGraph; |
21 |
21 |
22 int main() { |
22 int main() { |
23 { // checking edge_sets |
23 { // checking edge_sets |
24 checkConcept<StaticGraph, ListEdgeSet<Graph> >(); |
24 checkConcept<Graph, ListEdgeSet<RGraph> >(); |
25 checkConcept<UGraph, ListUEdgeSet<Graph> >(); |
25 checkConcept<UGraph, ListUEdgeSet<RGraph> >(); |
26 checkConcept<StaticGraph, SmartEdgeSet<Graph> >(); |
26 checkConcept<Graph, SmartEdgeSet<RGraph> >(); |
27 checkConcept<UGraph, SmartUEdgeSet<Graph> >(); |
27 checkConcept<UGraph, SmartUEdgeSet<RGraph> >(); |
28 } |
28 } |
29 |
29 |
30 std::cout << __FILE__ ": All tests passed.\n"; |
30 std::cout << __FILE__ ": All tests passed.\n"; |
31 |
31 |
32 return 0; |
32 return 0; |