Arbutils/tests/MemoryTests.cpp

8 lines
233 B
C++
Raw Normal View History

2021-08-29 14:23:04 +00:00
#ifdef TESTS_BUILD
#include "../extern/doctest.hpp"
#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