1.1 --- a/src/test/graph_test.cc Sat May 21 21:04:57 2005 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,66 +0,0 @@
1.4 -// -*- c++ -*-
1.5 -
1.6 -#include <iostream>
1.7 -#include <vector>
1.8 -
1.9 -#include <lemon/concept/graph.h>
1.10 -#include <lemon/list_graph.h>
1.11 -#include <lemon/smart_graph.h>
1.12 -#include <lemon/full_graph.h>
1.13 -
1.14 -#include "test_tools.h"
1.15 -#include "graph_test.h"
1.16 -#include "map_test.h"
1.17 -
1.18 -
1.19 -using namespace lemon;
1.20 -using namespace lemon::concept;
1.21 -
1.22 -
1.23 -int main() {
1.24 - { // checking graph components
1.25 - checkConcept<BaseGraphComponent, BaseGraphComponent >();
1.26 -
1.27 - checkConcept<BaseIterableGraphComponent, BaseIterableGraphComponent >();
1.28 -
1.29 - checkConcept<IDableGraphComponent, IDableGraphComponent >();
1.30 - checkConcept<MaxIDableGraphComponent, MaxIDableGraphComponent >();
1.31 -
1.32 - checkConcept<BaseExtendableGraphComponent, BaseExtendableGraphComponent >();
1.33 - checkConcept<BaseErasableGraphComponent, BaseErasableGraphComponent >();
1.34 -
1.35 - checkConcept<IterableGraphComponent, IterableGraphComponent >();
1.36 -
1.37 - checkConcept<MappableGraphComponent, MappableGraphComponent >();
1.38 -
1.39 - checkConcept<ExtendableGraphComponent, ExtendableGraphComponent >();
1.40 - checkConcept<ErasableGraphComponent, ErasableGraphComponent >();
1.41 - checkConcept<ClearableGraphComponent, ClearableGraphComponent >();
1.42 - }
1.43 - { // checking skeleton graphs
1.44 - checkConcept<StaticGraph, StaticGraph >();
1.45 - checkConcept<ExtendableGraph, ExtendableGraph >();
1.46 - checkConcept<ErasableGraph, ErasableGraph >();
1.47 - }
1.48 - { // checking list graph
1.49 - checkConcept<ErasableGraph, ListGraph >();
1.50 -
1.51 - checkGraph<ListGraph>();
1.52 - checkGraphNodeMap<ListGraph>();
1.53 - checkGraphEdgeMap<ListGraph>();
1.54 - }
1.55 - { // checking smart graph
1.56 - checkConcept<ExtendableGraph, SmartGraph >();
1.57 -
1.58 - checkGraph<SmartGraph>();
1.59 - checkGraphNodeMap<SmartGraph>();
1.60 - checkGraphEdgeMap<SmartGraph>();
1.61 - }
1.62 - { // checking full graph
1.63 - checkConcept<StaticGraph, FullGraph >();
1.64 - }
1.65 -
1.66 - std::cout << __FILE__ ": All tests passed.\n";
1.67 -
1.68 - return 0;
1.69 -}