Упрощение тестов
This commit is contained in:
parent
fcf793c758
commit
7f242c4b63
71 changed files with 518 additions and 943 deletions
|
@ -2,37 +2,15 @@
|
|||
|
||||
#include "./../helpers.h"
|
||||
|
||||
int test_versor()
|
||||
void test_versor()
|
||||
{
|
||||
print_testing_section("BGC Versor");
|
||||
|
||||
if (test_versor_reset() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_versor_set_values() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_versor_copy() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_versor_swap() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_versor_are_close() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_versor_is_identity() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_versor_combine() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
return TEST_SUCCESS;
|
||||
test_versor_reset();
|
||||
test_versor_set_values();
|
||||
test_versor_copy();
|
||||
test_versor_swap();
|
||||
test_versor_are_close();
|
||||
test_versor_is_identity();
|
||||
test_versor_combine();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue