diff --git a/src/tests/util/memory.cpp b/src/tests/util/memory.cpp index e63387a11..ec47a6858 100644 --- a/src/tests/util/memory.cpp +++ b/src/tests/util/memory.cpp @@ -20,10 +20,6 @@ static void tst1() { a = static_cast(lean::realloc(a, N * 2 * sizeof(N))); lean_assert(lean::get_allocated_memory() >= old_mem + N * 2 * sizeof(N)); std::cout << "Total: " << static_cast(lean::get_allocated_memory()) << "\n"; -#if !defined(HAS_TCMALLOC) && !defined(LEAN_USE_BOOST) - // When TCMALLOC is used, there is a problem during initialization, and the value of get_thread_allocated_memory is off. - lean_assert_eq(lean::get_allocated_memory(), static_cast(lean::get_thread_allocated_memory())); -#endif for (int i = 0; i < N; i++) { lean_assert(a[i] == i); }