Добавлено несколько модульных тестов для Vector2, Vector3, Versor
This commit is contained in:
parent
ab4a589e21
commit
86426c9bd5
30 changed files with 1148 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue