Добавлено несколько модульных тестов для Vector2, Vector3, Versor

This commit is contained in:
Andrey Pokidov 2025-02-09 03:18:08 +07:00
parent ab4a589e21
commit 86426c9bd5
30 changed files with 1148 additions and 3 deletions

View file

@ -4,6 +4,8 @@
#include "helpers.h"
#include "tests/utilities.h"
#include "tests/vector2.h"
#include "tests/vector3.h"
#include "tests/versor.h"
#define PROGRAM_SUCCESS 0
@ -15,6 +17,14 @@ int main()
return PROGRAM_FAILED;
}
if (test_vector2() == TEST_FAILED) {
return PROGRAM_FAILED;
}
if (test_vector3() == TEST_FAILED) {
return PROGRAM_FAILED;
}
if (test_versor() == TEST_FAILED) {
return PROGRAM_FAILED;
}