mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
10 lines
238 B
C++
10 lines
238 B
C++
#include "Memory.hpp"
|
|
#include "Test.hpp"
|
|
|
|
TEST_CASE("SMemAlloc", "[memory]") {
|
|
SECTION("allocates memory") {
|
|
void* ptr = SMemAlloc(16, __FILE__, __LINE__, 0x0);
|
|
REQUIRE(ptr != nullptr);
|
|
SMemFree(ptr);
|
|
}
|
|
}
|