MCPcopy Create free account
hub / github.com/defold/defold / TEST

Function TEST

engine/dlib/src/test/test_memory.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include "../dlib/memory.h"
20
21TEST(dmMemory, Malloc)
22{
23 void* memory = malloc(1024*1024);
24 ASSERT_TRUE(memory != 0);
25 free(memory);//
26}
27
28TEST(dmMemory, AlignedMalloc)
29{

Callers

nothing calls this directly

Calls 4

mallocFunction · 0.85
freeFunction · 0.85
AlignedMallocFunction · 0.85
AlignedFreeFunction · 0.85

Tested by

no test coverage detected