little correction on macro for map tests

This commit is contained in:
hugogogo
2022-06-19 12:36:01 +02:00
parent 3074f7c93c
commit 8a404b0839

View File

@@ -10,23 +10,20 @@ TEST_M(tests_map_simple)
TITLE(simple test)
typename std::map<T, U> first;
typename std::map<T, U>::iterator it;
typename std::map<T, U>::iterator it;
first[VALT('a')]=VALU(10);
first[VALT('b')]=VALU(30);
first[VALT('c')]=VALU(50);
first[VALT('d')]=VALU(70);
for(it=first.begin(); it!=first.end(); ++it){
std::cout << it->first << " => " << it->second << '\n';
}
PRINT(first)
DELETE
}
/*
TEST(tests_map_constructor)
TEST_M(tests_map_constructor)
{
// title
TITLE(cplusplus.com reference)
@@ -57,7 +54,7 @@ TEST(tests_map_constructor)
DELETE
}
TEST(tests_map_operator_assignation)
TEST_M(tests_map_operator_assignation)
{
// title
TITLE(cplusplus.com reference)
@@ -78,7 +75,7 @@ TEST(tests_map_operator_assignation)
DELETE
}
TEST(tests_map_begin)
TEST_M(tests_map_begin)
{
// title
TITLE(cplusplus.com reference)
@@ -96,7 +93,7 @@ TEST(tests_map_begin)
DELETE
}
TEST(tests_map_end)
TEST_M(tests_map_end)
{
// title
TITLE(cplusplus.com reference)
@@ -114,7 +111,7 @@ TEST(tests_map_end)
DELETE
}
TEST(tests_map_rbegin)
TEST_M(tests_map_rbegin)
{
// title
TITLE(cplusplus.com reference)
@@ -133,7 +130,7 @@ TEST(tests_map_rbegin)
DELETE
}
TEST(tests_map_rend)
TEST_M(tests_map_rend)
{
// title
TITLE(cplusplus.com reference)
@@ -152,7 +149,7 @@ TEST(tests_map_rend)
DELETE
}
TEST(tests_map_empty)
TEST_M(tests_map_empty)
{
// title
TITLE(cplusplus.com reference)
@@ -172,7 +169,7 @@ TEST(tests_map_empty)
DELETE
}
TEST(tests_map_size)
TEST_M(tests_map_size)
{
// title
TITLE(cplusplus.com reference)
@@ -187,7 +184,7 @@ TEST(tests_map_size)
DELETE
}
TEST(tests_map_max_size)
TEST_M(tests_map_max_size)
{
// title
TITLE(cplusplus.com reference)
@@ -205,7 +202,7 @@ TEST(tests_map_max_size)
DELETE
}
TEST(tests_map_operator_access)
TEST_M(tests_map_operator_access)
{
// title
TITLE(cplusplus.com reference)
@@ -226,7 +223,7 @@ TEST(tests_map_operator_access)
DELETE
}
TEST(tests_map_insert)
TEST_M(tests_map_insert)
{
// title
TITLE(cplusplus.com reference)
@@ -265,7 +262,7 @@ TEST(tests_map_insert)
DELETE
}
TEST(tests_map_erase)
TEST_M(tests_map_erase)
{
// title
TITLE(cplusplus.com reference)
@@ -296,7 +293,7 @@ TEST(tests_map_erase)
DELETE
}
TEST(tests_map_swap)
TEST_M(tests_map_swap)
{
// title
TITLE(cplusplus.com reference)
@@ -323,7 +320,7 @@ TEST(tests_map_swap)
DELETE
}
TEST(tests_map_clear)
TEST_M(tests_map_clear)
{
// title
TITLE(cplusplus.com reference)
@@ -349,7 +346,7 @@ TEST(tests_map_clear)
DELETE
}
TEST(tests_map_key_comp)
TEST_M(tests_map_key_comp)
{
// title
TITLE(cplusplus.com reference)
@@ -376,7 +373,7 @@ TEST(tests_map_key_comp)
DELETE
}
TEST(tests_map_value_comp)
TEST_M(tests_map_value_comp)
{
// title
TITLE(cplusplus.com reference)
@@ -399,7 +396,7 @@ TEST(tests_map_value_comp)
DELETE
}
TEST(tests_map_find)
TEST_M(tests_map_find)
{
// title
TITLE(cplusplus.com reference)
@@ -425,7 +422,7 @@ TEST(tests_map_find)
DELETE
}
TEST(tests_map_count)
TEST_M(tests_map_count)
{
// title
TITLE(cplusplus.com reference)
@@ -449,7 +446,7 @@ TEST(tests_map_count)
DELETE
}
TEST(tests_map_lower_bound)
TEST_M(tests_map_lower_bound)
{
// title
TITLE(cplusplus.com reference)
@@ -475,7 +472,7 @@ TEST(tests_map_lower_bound)
DELETE
}
TEST(tests_map_upper_bound)
TEST_M(tests_map_upper_bound)
{
// title
TITLE(cplusplus.com reference)
@@ -501,7 +498,7 @@ TEST(tests_map_upper_bound)
DELETE
}
TEST(tests_map_equal_range)
TEST_M(tests_map_equal_range)
{
// title
TITLE(cplusplus.com reference)
@@ -524,7 +521,7 @@ TEST(tests_map_equal_range)
DELETE
}
TEST(tests_map_get_allocator)
TEST_M(tests_map_get_allocator)
{
// title
TITLE(cplusplus.com reference)