Реорганизация тестов (в процессе)
This commit is contained in:
parent
43bf030295
commit
fcf793c758
41 changed files with 252 additions and 314 deletions
|
@ -4,31 +4,31 @@ int test_vector2()
|
|||
{
|
||||
print_testing_section("BGC Vector2");
|
||||
|
||||
if (test_vector2_reset() != TEST_SUCCES) {
|
||||
if (test_vector2_reset() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_vector2_set_values() != TEST_SUCCES) {
|
||||
if (test_vector2_set_values() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_vector2_copy() != TEST_SUCCES) {
|
||||
if (test_vector2_copy() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_vector2_swap() != TEST_SUCCES) {
|
||||
if (test_vector2_swap() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_vector2_is_zero() != TEST_SUCCES) {
|
||||
if (test_vector2_is_zero() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
if (test_vector2_is_unit() != TEST_SUCCES) {
|
||||
if (test_vector2_is_unit() != TEST_SUCCESS) {
|
||||
return TEST_FAILED;
|
||||
}
|
||||
|
||||
return TEST_SUCCES;
|
||||
return TEST_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue