Changeset 989:ca95f8b5c931 in lemon-0.x for src/test/graph_test.cc
- Timestamp:
- 11/13/04 22:37:54 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1379
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/graph_test.cc
r980 r989 21 21 ///\file 22 22 { // checking graph components 23 function_requires<BaseGraphComponentConcept<BaseGraphComponent>>();23 checkConcept<BaseGraphComponent, BaseGraphComponent >(); 24 24 25 function_requires<BaseIterableGraphComponentConcept<BaseIterableGraphComponent>>();25 checkConcept<BaseIterableGraphComponent, BaseIterableGraphComponent >(); 26 26 27 function_requires<IDableGraphComponentConcept<IDableGraphComponent>>();28 function_requires<MaxIDableGraphComponentConcept<MaxIDableGraphComponent>>();27 checkConcept<IDableGraphComponent, IDableGraphComponent >(); 28 checkConcept<MaxIDableGraphComponent, MaxIDableGraphComponent >(); 29 29 30 function_requires<BaseExtendableGraphComponentConcept<BaseExtendableGraphComponent>>();31 function_requires<BaseErasableGraphComponentConcept<BaseErasableGraphComponent>>();32 function_requires<BaseClearableGraphComponentConcept<BaseClearableGraphComponent>>();30 checkConcept<BaseExtendableGraphComponent, BaseExtendableGraphComponent >(); 31 checkConcept<BaseErasableGraphComponent, BaseErasableGraphComponent >(); 32 checkConcept<BaseClearableGraphComponent, BaseClearableGraphComponent >(); 33 33 34 function_requires<IterableGraphComponentConcept<IterableGraphComponent>>();34 checkConcept<IterableGraphComponent, IterableGraphComponent >(); 35 35 36 function_requires<MappableGraphComponentConcept<MappableGraphComponent>>();36 checkConcept<MappableGraphComponent, MappableGraphComponent >(); 37 37 38 function_requires<ExtendableGraphComponentConcept<ExtendableGraphComponent>>();39 function_requires<ErasableGraphComponentConcept<ErasableGraphComponent>>();40 function_requires<ClearableGraphComponentConcept<ClearableGraphComponent>>();38 checkConcept<ExtendableGraphComponent, ExtendableGraphComponent >(); 39 checkConcept<ErasableGraphComponent, ErasableGraphComponent >(); 40 checkConcept<ClearableGraphComponent, ClearableGraphComponent >(); 41 41 } 42 42 { // checking skeleton graphs 43 function_requires<StaticGraphConcept<StaticGraph>>();44 function_requires<ExtendableGraphConcept<ExtendableGraph>>();45 function_requires<ErasableGraphConcept<ErasableGraph>>();43 checkConcept<StaticGraph, StaticGraph >(); 44 checkConcept<ExtendableGraph, ExtendableGraph >(); 45 checkConcept<ErasableGraph, ErasableGraph >(); 46 46 } 47 47 { // checking list graph 48 function_requires<ErasableGraphConcept<ListGraph>>();48 checkConcept<ErasableGraph, ListGraph >(); 49 49 50 50 checkGraph<ListGraph>(); … … 53 53 } 54 54 { // checking smart graph 55 function_requires<ExtendableGraphConcept<SmartGraph>>();55 checkConcept<ExtendableGraph, SmartGraph >(); 56 56 57 57 checkGraph<SmartGraph>(); … … 60 60 } 61 61 { // checking full graph 62 function_requires<StaticGraphConcept<FullGraph>>();62 checkConcept<StaticGraph, FullGraph >(); 63 63 } 64 64
Note: See TracChangeset
for help on using the changeset viewer.