diff --git a/test/test_mem.cpp b/test/test_mem.cpp index 7d9194d..fa5ce31 100644 --- a/test/test_mem.cpp +++ b/test/test_mem.cpp @@ -21,7 +21,6 @@ class Unit : public TestSuite { private slots: void initTestCase(); - void cleanupTestCase(); void test_alloc_free(); void test_linear(); @@ -89,10 +88,6 @@ void Unit::initTestCase() { } } -void Unit::cleanupTestCase() { - sizes__.clear(); -} - template void benchmark_alloc() { std::cout << std::endl << type_name() << std::endl; @@ -112,7 +107,6 @@ void benchmark_alloc() { void Unit::test_alloc_free() { benchmark_alloc(); benchmark_alloc(); - benchmark_alloc(); } template @@ -177,17 +171,14 @@ struct test_performance { }; void Unit::test_linear() { - test_performance::start(); - test_performance::start(); - test_performance::start(); + test_performance::start(); + test_performance::start(); - test_performance::start(); - test_performance::start(); - test_performance::start(); + test_performance::start(); + test_performance::start(); - test_performance::start(); - test_performance::start(); - test_performance::start(); + test_performance::start(); + test_performance::start(); } } // internal-linkage