This commit is contained in:
Ilusha 2024-03-14 08:00:35 +03:00 committed by Ilya Shurupov
parent 0b3f780ec7
commit b56829ea26
8 changed files with 52 additions and 32 deletions

View file

@ -1,5 +1,5 @@
#include "Testing.hpp"
#include "ObjectTests.hpp"
#include "compiler/function.h"
#include "core/object.h"
@ -30,4 +30,9 @@ TEST_DEF_STATIC(Dict) {
NDO->destroy(dictLoaded);
}
TEST_DEF(Primitives) { testDict(); }
TEST_DEF(Primitives) {
if (objTestModule.initialize()) {
testDict();
objTestModule.deinitialize();
}
}