chore(test): add test scaffolding

This commit is contained in:
fallenoak 2020-09-07 22:24:42 -05:00
parent ec1c5c8844
commit dc14e5bfa7
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
6 changed files with 17850 additions and 0 deletions

10
test/Memory.cpp Normal file
View file

@ -0,0 +1,10 @@
#include "Test.hpp"
#include "Memory.hpp"
TEST_CASE("SMemAlloc", "[memory]") {
SECTION("allocates memory") {
void* ptr = SMemAlloc(16, __FILE__, __LINE__, 0x0);
REQUIRE(ptr != nullptr);
SMemFree(ptr);
}
}