Arbutils/tests/MemoryTests.cpp

8 lines
211 B
C++

#ifdef TESTS_BUILD
#include <doctest.h>
#include "../src/Memory/Memory.hpp"
using namespace ArbUt;
TEST_CASE("Scoped Pointer deletes child after out of scope") { auto a = ScopedPtr<u32>(new u32(100)); }
#endif