tests are receving as much argument as necessary, and print works with map
This commit is contained in:
@@ -9,17 +9,18 @@ TEST(tests_map_simple)
|
||||
// title
|
||||
TITLE(simple test)
|
||||
|
||||
std::map<char,int> first;
|
||||
std::map<char, int>::iterator it;
|
||||
typename std::map<T, int> first;
|
||||
typename std::map<T, int>::iterator it;
|
||||
|
||||
first['a']=10;
|
||||
first['b']=30;
|
||||
first['c']=50;
|
||||
first['d']=70;
|
||||
first[VAL('a')]=10;
|
||||
first[VAL('b')]=30;
|
||||
first[VAL('c')]=50;
|
||||
first[VAL('d')]=70;
|
||||
|
||||
for(it=first.begin(); it!=first.end(); ++it){
|
||||
std::cout << it->first << " => " << it->second << '\n';
|
||||
}
|
||||
PRINT(first)
|
||||
|
||||
DELETE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user