41 checkConcept<BaseIterableGraphComponent, BaseIterableGraphComponent >(); |
41 checkConcept<BaseIterableGraphComponent, BaseIterableGraphComponent >(); |
42 |
42 |
43 checkConcept<IDableGraphComponent, IDableGraphComponent >(); |
43 checkConcept<IDableGraphComponent, IDableGraphComponent >(); |
44 checkConcept<MaxIDableGraphComponent, MaxIDableGraphComponent >(); |
44 checkConcept<MaxIDableGraphComponent, MaxIDableGraphComponent >(); |
45 |
45 |
46 checkConcept<BaseExtendableGraphComponent, BaseExtendableGraphComponent >(); |
|
47 checkConcept<BaseErasableGraphComponent, BaseErasableGraphComponent >(); |
|
48 |
|
49 checkConcept<IterableGraphComponent, IterableGraphComponent >(); |
46 checkConcept<IterableGraphComponent, IterableGraphComponent >(); |
50 |
47 |
51 checkConcept<MappableGraphComponent, MappableGraphComponent >(); |
48 checkConcept<MappableGraphComponent, MappableGraphComponent >(); |
52 |
49 |
53 checkConcept<ExtendableGraphComponent, ExtendableGraphComponent >(); |
|
54 checkConcept<ErasableGraphComponent, ErasableGraphComponent >(); |
|
55 checkConcept<ClearableGraphComponent, ClearableGraphComponent >(); |
|
56 } |
50 } |
57 { // checking skeleton graphs |
51 { // checking skeleton graphs |
58 checkConcept<StaticGraph, StaticGraph >(); |
52 checkConcept<Graph, Graph >(); |
59 checkConcept<ExtendableGraph, ExtendableGraph >(); |
|
60 checkConcept<ErasableGraph, ErasableGraph >(); |
|
61 } |
53 } |
62 { // checking list graph |
54 { // checking list graph |
63 checkConcept<ErasableGraph, ListGraph >(); |
55 checkConcept<Graph, ListGraph >(); |
64 |
56 |
65 checkGraph<ListGraph>(); |
57 checkGraph<ListGraph>(); |
66 checkGraphNodeMap<ListGraph>(); |
58 checkGraphNodeMap<ListGraph>(); |
67 checkGraphEdgeMap<ListGraph>(); |
59 checkGraphEdgeMap<ListGraph>(); |
68 } |
60 } |
69 { // checking smart graph |
61 { // checking smart graph |
70 checkConcept<ExtendableGraph, SmartGraph >(); |
62 checkConcept<Graph, SmartGraph >(); |
71 |
63 |
72 checkGraph<SmartGraph>(); |
64 checkGraph<SmartGraph>(); |
73 checkGraphNodeMap<SmartGraph>(); |
65 checkGraphNodeMap<SmartGraph>(); |
74 checkGraphEdgeMap<SmartGraph>(); |
66 checkGraphEdgeMap<SmartGraph>(); |
75 } |
67 } |
76 { // checking full graph |
68 { // checking full graph |
77 checkConcept<StaticGraph, FullGraph >(); |
69 checkConcept<Graph, FullGraph >(); |
78 } |
70 } |
79 { // checking full graph |
71 { // checking full graph |
80 checkConcept<StaticGraph, HyperCubeGraph >(); |
72 checkConcept<Graph, HyperCubeGraph >(); |
81 } |
73 } |
82 |
74 |
83 std::cout << __FILE__ ": All tests passed.\n"; |
75 std::cout << __FILE__ ": All tests passed.\n"; |
84 |
76 |
85 return 0; |
77 return 0; |