Apply formating to all files. CLeanup
This commit is contained in:
parent
43e374f269
commit
744c01c5d0
928 changed files with 14515 additions and 21480 deletions
|
|
@ -7,7 +7,6 @@
|
|||
using namespace tp;
|
||||
using namespace obj;
|
||||
|
||||
|
||||
void testCore();
|
||||
void testPrimitives();
|
||||
void testInterpreter();
|
||||
|
|
|
|||
|
|
@ -26,11 +26,8 @@ TEST_DEF_STATIC(BasicAPI) {
|
|||
TEST(NDO_CAST(IntObject, savedInt));
|
||||
TEST(integer->val == NDO_CAST(IntObject, savedInt)->val);
|
||||
|
||||
|
||||
NDO->destroy(integer);
|
||||
NDO->destroy(savedInt);
|
||||
}
|
||||
|
||||
TEST_DEF(Core) {
|
||||
testBasicAPI();
|
||||
}
|
||||
TEST_DEF(Core) { testBasicAPI(); }
|
||||
|
|
@ -3,12 +3,12 @@
|
|||
|
||||
#include "Testing.hpp"
|
||||
|
||||
#include "compiler/function.h"
|
||||
#include "core/object.h"
|
||||
#include "primitives/methodobject.h"
|
||||
#include "interpreter/interpreter.h"
|
||||
#include "primitives/interpreterobject.h"
|
||||
#include "primitives/linkobject.h"
|
||||
#include "compiler/function.h"
|
||||
#include "interpreter/interpreter.h"
|
||||
#include "primitives/methodobject.h"
|
||||
|
||||
using namespace tp;
|
||||
using namespace obj;
|
||||
|
|
@ -57,7 +57,6 @@ TEST_DEF_STATIC(Complex) {
|
|||
|
||||
interpreter->exec();
|
||||
|
||||
|
||||
NDO->destroy(interpreter);
|
||||
}
|
||||
|
||||
|
|
@ -84,5 +83,5 @@ TEST_DEF_STATIC(Simple) {
|
|||
|
||||
TEST_DEF(Interpreter) {
|
||||
testSimple();
|
||||
//testComplex();
|
||||
// testComplex();
|
||||
}
|
||||
|
|
@ -30,6 +30,4 @@ TEST_DEF_STATIC(Dict) {
|
|||
NDO->destroy(dictLoaded);
|
||||
}
|
||||
|
||||
TEST_DEF(Primitives) {
|
||||
testDict();
|
||||
}
|
||||
TEST_DEF(Primitives) { testDict(); }
|
||||
Loading…
Add table
Add a link
Reference in a new issue