Упрощение тестов
This commit is contained in:
parent
fcf793c758
commit
7f242c4b63
71 changed files with 518 additions and 943 deletions
|
@ -2,33 +2,22 @@
|
|||
|
||||
#include "./../../helpers.h"
|
||||
|
||||
int test_quaternion_square_modulus_fp32()
|
||||
void test_quaternion_square_modulus_fp32()
|
||||
{
|
||||
print_testing_name("bgc_quaternion_is_zero_fp32");
|
||||
|
||||
print_testing_success();
|
||||
|
||||
return TEST_SUCCES;
|
||||
}
|
||||
|
||||
int test_quaternion_square_modulus_fp64()
|
||||
void test_quaternion_square_modulus_fp64()
|
||||
{
|
||||
print_testing_name("bgc_quaternion_is_zero_fp64");
|
||||
|
||||
print_testing_success();
|
||||
|
||||
return TEST_SUCCES;
|
||||
}
|
||||
|
||||
int test_quaternion_square_modulus()
|
||||
void test_quaternion_square_modulus()
|
||||
{
|
||||
if (test_quaternion_square_modulus_fp32() != TEST_SUCCES) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_quaternion_square_modulus_fp64() != TEST_SUCCES) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
return TEST_SUCCES;
|
||||
test_quaternion_square_modulus_fp32();
|
||||
test_quaternion_square_modulus_fp64();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue