Модульные тесты для кватернионов

This commit is contained in:
Andrey Pokidov 2025-02-11 00:01:29 +07:00
parent 2fae0154ac
commit 899ca7dd52
63 changed files with 1233 additions and 284 deletions

View file

@ -6,6 +6,7 @@
#include "tests/utilities.h"
#include "tests/vector2.h"
#include "tests/vector3.h"
#include "tests/quaternion.h"
#include "tests/versor.h"
#define PROGRAM_SUCCESS 0
@ -25,6 +26,10 @@ int main()
return PROGRAM_FAILED;
}
if (test_quaternion() == TEST_FAILED) {
return PROGRAM_FAILED;
}
if (test_versor() == TEST_FAILED) {
return PROGRAM_FAILED;
}