Arbutils/tests/MemoryTests.cpp

8 lines
211 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;
TEST_CASE("Scoped Pointer deletes child after out of scope") { auto a = ScopedPtr<u32>(new u32(100)); }
2021-08-29 14:23:04 +00:00
#endif