Реорганизация тестов (в процессе)
This commit is contained in:
parent
43bf030295
commit
fcf793c758
41 changed files with 252 additions and 314 deletions
|
|
@ -73,7 +73,7 @@ int test_versor_set_values_fp32()
|
|||
|
||||
print_testing_success();
|
||||
|
||||
return TEST_SUCCES;
|
||||
return TEST_SUCCESS;
|
||||
}
|
||||
|
||||
// ==================== FP64 ==================== //
|
||||
|
|
@ -107,7 +107,7 @@ int test_versor_set_values_fp64()
|
|||
if (!bgc_is_unit_fp64(versor_module)) {
|
||||
print_testing_failed();
|
||||
print_testing_warning("Versor module is not equal to one.");
|
||||
return TEST_SUCCES;
|
||||
return TEST_SUCCESS;
|
||||
}
|
||||
|
||||
if (bgc_is_zero_fp64(_TEST_FP64_VERSOR_DATA_LIST[i].s0)) {
|
||||
|
|
@ -119,36 +119,36 @@ int test_versor_set_values_fp64()
|
|||
if (!bgc_is_zero_fp64(_TEST_FP64_VERSOR_DATA_LIST[i].x1) && !bgc_are_close_fp64(ratio, _TEST_FP64_VERSOR_DATA_LIST[i].x1 / versor.x1)) {
|
||||
print_testing_failed();
|
||||
print_testing_warning("Versor was not normalized proportionally (x1).");
|
||||
return TEST_SUCCES;
|
||||
return TEST_SUCCESS;
|
||||
}
|
||||
|
||||