summaryrefslogtreecommitdiffstats
path: root/tests/test_main.cpp
diff options
context:
space:
mode:
authorcodepatzer <codepatzer@gmail.com>2021-07-26 11:22:48 -0600
committerRémi Verschelde <rverschelde@gmail.com>2022-08-04 13:56:04 +0200
commitd0cb0ff2488a05b33bd1d24148a83b2bc74efccb (patch)
treebad066309769d7523e60d1f9f85600e7d5e4a3c9 /tests/test_main.cpp
parent20e4b90fe947d30bf8767fad536a263735be61fb (diff)
downloadredot-engine-d0cb0ff2488a05b33bd1d24148a83b2bc74efccb.tar.gz
Add tests file for Quaternion unit tests, with initial UTs
- Test constructors and quaternion product. - Add test case for Axis-Angle construction about Y-axis. - Add test case for xform of i-, j-, & k-unit vectors. - Add test case for construction from Basis. - Add test case for xform of arbitrary vector. - Add stress test case: many Quaternions xform many vectors. - Make comments consistent with style guide.
Diffstat (limited to 'tests/test_main.cpp')
-rw-r--r--tests/test_main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_main.cpp b/tests/test_main.cpp
index fca484a6b3..8a9abd0f33 100644
--- a/tests/test_main.cpp
+++ b/tests/test_main.cpp
@@ -48,6 +48,7 @@
#include "tests/core/math/test_geometry_2d.h"
#include "tests/core/math/test_geometry_3d.h"
#include "tests/core/math/test_plane.h"
+#include "tests/core/math/test_quaternion.h"
#include "tests/core/math/test_random_number_generator.h"
#include "tests/core/math/test_rect2.h"
#include "tests/core/math/test_rect2i.h"