TEST(error, sum_sign_1d_big_test_1) // weird but it PASSED
{
int a[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
sum_sign_1d_big(a);
}
TEST(error, sum_sign_1d_big_p_test_1) // weird but it PASSED
{
int a[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
sum_sign_1d_big_p(a);
}
TEST(error, sum_sign_9_11_test_1) // weird but it PASSED
{
int a[2][11] = {{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}};
sum_sign_9_11(a);
}
TEST(error, sum_sign_9_11_pp_test_1) // actually ERROR, test is ok
{
int _a[2][2] = {{0, 0}, {0, 0}};
int ** a = (int **) calloc(3, sizeof(int *));
for (int it_66_0 = 0; it_66_0 < 2; it_66_0 ++) {
a[it_66_0] = _a[it_66_0];
}
a[2] = NULL;
sum_sign_9_11_pp(a);
}
TEST(error, sum_sign_9_11_p_test_1) // weird but it PASSED
{
int a[2][11] = {{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}};
sum_sign_9_11_p(a);
}
Description
Regression tests weren't generated at all for lots of cases that contains array as a function parameter:
At the same time, some error tests were generated and most of them are passed without errors.
Source code
Generated tests
Environment
UTBotCpp version 2022.7.0.