This commit is contained in:
Ilusha 2023-05-26 01:35:29 +03:00
commit d4c558a59a
34 changed files with 3850 additions and 0 deletions

18
tests/Tests.cpp Normal file
View file

@ -0,0 +1,18 @@
#include "allocators.hpp"
int main() {
tp::ModuleManifest* ModuleDependencies[] = { &tp::gModuleAllocator, NULL };
tp::ModuleManifest TestModule("Test", NULL, NULL, ModuleDependencies);
if (!TestModule.initialize()) {
return 1;
}
tp::HeapAllocGlobal alloc;
int* val = new(alloc) int();
delete(alloc, val);
TestModule.deinitialize();
}