Arbutils/tests/MemoryTests.cpp

8 lines
221 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<uint32_t>(new uint32_t(100)); }
#endif