Commit d68bc488 by lucapegolotti

Improve style of main.cc in containers_cpp tets

parent cb2417b0
......@@ -26,18 +26,6 @@
#include <embb/base/c/memory_allocation.h>
#include <partest/partest.h>
#include <embb/base/thread.h>
#include "./pool_test.h"
#include "./queue_test.h"
#include "./stack_test.h"
#include "./hazard_pointer_test.h"
#include "./object_pool_test.h"
#ifdef EMBB_PLATFORM_COMPILER_MSVC
// Suppress warning generated by malloc.h(160): expression before comma
// has no effect: expected expression with side effect
......@@ -56,7 +44,14 @@
#pragma warning(pop) // Reset warning 4548
#endif
#include <partest/partest.h>
#include <embb/base/thread.h>
#include "./pool_test.h"
#include "./queue_test.h"
#include "./stack_test.h"
#include "./hazard_pointer_test.h"
#include "./object_pool_test.h"
#define COMMA ,
......@@ -74,8 +69,6 @@ using embb::containers::test::StackTest;
using embb::containers::test::ObjectPoolTest;
using embb::containers::test::HazardPointerTest2;
PT_MAIN("Data Structures C++") {
unsigned int max_threads = static_cast<unsigned int>(
2 * partest::TestSuite::GetDefaultNumThreads());
......@@ -94,7 +87,3 @@ PT_MAIN("Data Structures C++") {
PT_EXPECT(embb_get_bytes_allocated() == 0);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment