Changeset 787:584270fba752 in lemon-0.x for src
- Timestamp:
- 09/02/04 17:30:50 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1080
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/graph_test.cc
r783 r787 133 133 m=cm; 134 134 dm=cm; //Copy from another type 135 { 136 //Check the typedef's 137 typename Graph::template NodeMap<int>::ValueType val; 138 val=1; 139 typename Graph::template NodeMap<int>::KeyType key; 140 key = typename Graph::NodeIt(G); 141 } 135 142 } 136 143 { //bool NodeMap … … 149 156 dm=cm; //Copy from another type 150 157 m=dm; //Copy to another type 158 159 { 160 //Check the typedef's 161 typename Graph::template NodeMap<bool>::ValueType val; 162 val=true; 163 typename Graph::template NodeMap<bool>::KeyType key; 164 key= typename Graph::NodeIt(G); 165 } 151 166 } 152 167 //EdgeMap tests … … 165 180 m=cm; 166 181 dm=cm; //Copy from another type 182 { 183 //Check the typedef's 184 typename Graph::template EdgeMap<int>::ValueType val; 185 val=1; 186 typename Graph::template EdgeMap<int>::KeyType key; 187 key= typename Graph::EdgeIt(G); 188 } 167 189 } 168 190 { //bool EdgeMap … … 181 203 dm=cm; //Copy from another type 182 204 m=dm; //Copy to another type 205 { 206 //Check the typedef's 207 typename Graph::template EdgeMap<bool>::ValueType val; 208 val=true; 209 typename Graph::template EdgeMap<bool>::KeyType key; 210 key= typename Graph::EdgeIt(G); 211 } 183 212 } 184 213 }
Note: See TracChangeset
for help on using the changeset viewer.