implemented delete correction for leaks

This commit is contained in:
hugogogo
2022-06-16 18:05:28 +02:00
parent 1cc5dabb7b
commit 5ee4202020
7 changed files with 229 additions and 245 deletions

View File

@@ -8,15 +8,15 @@
int main() {
// VECTOR
tests_vector_constructor();
tests_vector_operator_assignation();
// tests_vector_constructor();
// tests_vector_operator_assignation();
// tests_vector_begin();
// tests_vector_end();
// tests_vector_rbegin();
// tests_vector_rend();
// tests_vector_size();
// tests_vector_max_size();
// tests_vector_resize();
tests_vector_resize();
// tests_vector_capacity();
// tests_vector_empty();
// tests_vector_reserve();
@@ -101,6 +101,7 @@ int main() {
std::cout << "\n" << B_CYAN << "-- " << test_list[i][j]->type
<< " --" << RESET "\n";
test_list[i][j]->func();
delete test_list[i][j];
}
}
std::cout << "\n";