tests for map ope

This commit is contained in:
hugogogo
2022-06-19 12:33:18 +02:00
parent 50224fb432
commit 3074f7c93c
3 changed files with 49 additions and 35 deletions

View File

@@ -4,7 +4,7 @@
#include "tests_utils.hpp"
TEST(tests_vector_constructor)
TEST_V(tests_vector_constructor)
{
// title
TITLE(cplusplus.com reference)
@@ -24,7 +24,7 @@ TEST(tests_vector_constructor)
DELETE
}
TEST(tests_vector_operator_assignation)
TEST_V(tests_vector_operator_assignation)
{
// title
TITLE(cplusplus.com reference)
@@ -51,7 +51,7 @@ TEST(tests_vector_operator_assignation)
DELETE
}
TEST(tests_vector_begin)
TEST_V(tests_vector_begin)
{
// title
TITLE(cplusplus.com reference :)
@@ -65,7 +65,7 @@ TEST(tests_vector_begin)
DELETE
}
TEST(tests_vector_end)
TEST_V(tests_vector_end)
{
// title
TITLE(cplusplus.com reference :)
@@ -79,7 +79,7 @@ TEST(tests_vector_end)
DELETE
}
TEST(tests_vector_rbegin)
TEST_V(tests_vector_rbegin)
{
// title
TITLE(cplusplus.com reference :)
@@ -98,7 +98,7 @@ TEST(tests_vector_rbegin)
DELETE
}
TEST(tests_vector_rend)
TEST_V(tests_vector_rend)
{
// title
TITLE(cplusplus.com reference :)
@@ -117,7 +117,7 @@ TEST(tests_vector_rend)
DELETE
}
TEST(tests_vector_size)
TEST_V(tests_vector_size)
{
// title
TITLE(cplusplus.com reference :)
@@ -139,7 +139,7 @@ TEST(tests_vector_size)
DELETE
}
TEST(tests_vector_max_size)
TEST_V(tests_vector_max_size)
{
// title
TITLE(cplusplus.com reference :)
@@ -158,7 +158,7 @@ TEST(tests_vector_max_size)
DELETE
}
TEST(tests_vector_resize)
TEST_V(tests_vector_resize)
{
// title
TITLE(cplusplus.com reference :)
@@ -242,7 +242,7 @@ TEST(tests_vector_resize)
DELETE
}
TEST(tests_vector_capacity)
TEST_V(tests_vector_capacity)
{
// title
TITLE(cplusplus.com reference :)
@@ -259,7 +259,7 @@ TEST(tests_vector_capacity)
DELETE
}
TEST(tests_vector_empty)
TEST_V(tests_vector_empty)
{
// title
TITLE(cplusplus.com reference :)
@@ -280,7 +280,7 @@ TEST(tests_vector_empty)
DELETE
}
TEST(tests_vector_reserve)
TEST_V(tests_vector_reserve)
{
// title
TITLE(cplusplus.com reference :)
@@ -314,7 +314,7 @@ TEST(tests_vector_reserve)
DELETE
}
TEST(tests_vector_operator_access)
TEST_V(tests_vector_operator_access)
{
// title
TITLE(cplusplus.com reference :)
@@ -340,7 +340,7 @@ TEST(tests_vector_operator_access)
DELETE
}
TEST(tests_vector_at)
TEST_V(tests_vector_at)
{
// title
TITLE(cplusplus.com reference :)
@@ -357,7 +357,7 @@ TEST(tests_vector_at)
DELETE
}
TEST(tests_vector_front)
TEST_V(tests_vector_front)
{
// title
TITLE(cplusplus.com reference :)
@@ -378,7 +378,7 @@ TEST(tests_vector_front)
DELETE
}
TEST(tests_vector_back)
TEST_V(tests_vector_back)
{
// title
TITLE(cplusplus.com reference :)
@@ -397,7 +397,7 @@ TEST(tests_vector_back)
DELETE
}
TEST(tests_vector_assign)
TEST_V(tests_vector_assign)
{
// title
TITLE(cplusplus.com reference :)
@@ -466,7 +466,7 @@ TEST(tests_vector_assign)
DELETE
}
TEST(tests_vector_push_back)
TEST_V(tests_vector_push_back)
{
// title
TITLE(cplusplus.com reference :)
@@ -498,7 +498,7 @@ TEST(tests_vector_push_back)
DELETE
}
TEST(tests_vector_pop_back)
TEST_V(tests_vector_pop_back)
{
// title
TITLE(cplusplus.com reference :)
@@ -529,7 +529,7 @@ TEST(tests_vector_pop_back)
DELETE
}
TEST(tests_vector_insert)
TEST_V(tests_vector_insert)
{
typename ft::vector<T>::iterator it;
@@ -615,7 +615,7 @@ TEST(tests_vector_insert)
DELETE
}
TEST(tests_vector_erase)
TEST_V(tests_vector_erase)
{
// title
TITLE(cplusplus.com reference :)
@@ -656,7 +656,7 @@ TEST(tests_vector_erase)
DELETE
}
TEST(tests_vector_swap)
TEST_V(tests_vector_swap)
{
// title
TITLE(cplusplus.com reference :)
@@ -675,7 +675,7 @@ TEST(tests_vector_swap)
DELETE
}
TEST(tests_vector_clear)
TEST_V(tests_vector_clear)
{
// title
TITLE(cplusplus.com reference :)
@@ -698,7 +698,7 @@ TEST(tests_vector_clear)
DELETE
}
TEST(tests_vector_get_allocator)
TEST_V(tests_vector_get_allocator)
{
// title
TITLE(cplusplus.com reference :)
@@ -724,7 +724,7 @@ TEST(tests_vector_get_allocator)
DELETE
}
TEST(tests_vector_relational_operators)
TEST_V(tests_vector_relational_operators)
{
// title
TITLE(cplusplus.com reference :)
@@ -742,7 +742,7 @@ TEST(tests_vector_relational_operators)
DELETE
}
TEST(tests_vector_swap_non_member)
TEST_V(tests_vector_swap_non_member)
{
// title
TITLE(cplusplus.com reference :)
@@ -761,7 +761,7 @@ TEST(tests_vector_swap_non_member)
DELETE
}
TEST(tests_vector_reverse_iterators)
TEST_V(tests_vector_reverse_iterators)
{
// title
TITLE(cplusplus.com reference)