map is bst

This commit is contained in:
hugogogo
2022-06-22 00:22:04 +02:00
parent 0d98268a74
commit 58d417742b
12 changed files with 1228 additions and 178 deletions

View File

@@ -49,14 +49,14 @@ int main() {
tests_map_erase();
tests_map_swap();
tests_map_clear();
tests_map_key_comp();
tests_map_value_comp();
// tests_map_key_comp();
// tests_map_value_comp();
tests_map_find();
tests_map_count();
tests_map_lower_bound();
tests_map_upper_bound();
tests_map_equal_range();
tests_map_get_allocator();
// tests_map_lower_bound();
// tests_map_upper_bound();
// tests_map_equal_range();
// tests_map_get_allocator();
// tests_map_relational_operators();
tests_map_swap_non_member();

View File

@@ -336,6 +336,7 @@ TEST_M(tests_map_clear)
DELETE
}
/*
TEST_M(tests_map_key_comp)
{
// title
@@ -385,6 +386,7 @@ TEST_M(tests_map_value_comp)
DELETE
}
*/
TEST_M(tests_map_find)
{
@@ -437,6 +439,7 @@ TEST_M(tests_map_count)
DELETE
}
/*
TEST_M(tests_map_lower_bound)
{
// title
@@ -529,6 +532,7 @@ TEST_M(tests_map_get_allocator)
DELETE
}
*/
TEST_M(tests_map_relational_operators)
{