From d0cb0ff2488a05b33bd1d24148a83b2bc74efccb Mon Sep 17 00:00:00 2001 From: codepatzer Date: Mon, 26 Jul 2021 11:22:48 -0600 Subject: 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. --- tests/test_main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test_main.cpp') 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" -- cgit v1.2.3