test(vector3): add rotateVector3_test function

This commit is contained in:
2025-03-15 19:33:37 +01:00
committed by Loïc GUEZO
parent c7f09fdfea
commit 10c5f7164d
3 changed files with 24 additions and 3 deletions

View File

@@ -2,6 +2,8 @@
#include <stdio.h>
#define SUCCESS(X) printf("\n--------- All %s tests succeeded ---------\n\n", X);
int main() {
// --- Vector3 ---
@@ -17,7 +19,8 @@ int main() {
projVector3_test();
reflVector3_test();
distVector3_test();
printf("All Vector3 tests succeeded\n");
rotateVector3_test();
SUCCESS("Vector3");
// --- Vector4 ---
@@ -32,8 +35,8 @@ int main() {
projVector4_test();
reflVector4_test();
distVector4_test();
printf("All Vector4 tests succeeded\n");
SUCCESS("Vector4");
printf("All tests succeeded\n");
SUCCESS("");
return 0;
}