define TORQUE_TESTS_ENABLED

This commit is contained in:
marauder2k7 2023-07-24 13:47:22 +01:00
parent d6a4c63c27
commit 2ef93acac6
4 changed files with 381 additions and 389 deletions

View file

@ -24,9 +24,9 @@
#include "console/engineAPI.h"
#include "math/mathUtils.h"
#ifdef TORQUE_TESTS_ENABLED
#include "testing/unitTesting.h"
#endif
//#ifdef TORQUE_TESTS_ENABLED
//#include "testing/unitTesting.h"
//#endif
//====================================================================
//Eulers setup
@ -317,14 +317,6 @@ void RotationF::normalize()
}
}
//Testing
#ifdef TORQUE_TESTS_ENABLED
TEST(Maths, RotationF_Calculations)
{
//TODO: implement unit test
};
#endif
DefineEngineFunction(AddRotation, RotationF, (RotationF a, RotationF b, const char* returnType), ("Euler"),
"Adds two rotations together.\n"
"@param a Rotation one."