Arbutils/tests/MemoryTests.cpp

8 lines
221 B
C++
Raw Normal View History

2021-08-29 14:23:04 +00:00
#ifdef TESTS_BUILD
2022-02-05 12:37:47 +00:00
#include <doctest.h>
2021-08-29 14:23:04 +00:00
#include "../src/Memory/Memory.hpp"
using namespace ArbUt;
2021-09-25 15:59:06 +00:00
TEST_CASE("Scoped Pointer deletes child after out of scope") { auto a = ScopedPtr<uint32_t>(new uint32_t(100)); }
2021-08-29 14:23:04 +00:00
#endif