You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include <stdlib.h>
int min8(int a, int b) {
if(a > b) {
printf("a:%d, b:%d", a, b);
b = abs(b);
return b;
} else {
printf("a:%d, b:%d", a, b);
a = abs(a);
return a;
}
}
Generates only one test
TEST(regression, min8_test1)
{
int actual = min8(0, 0);
EXPECT_EQ(0, actual);
}
Waiting at least two tests
The text was updated successfully, but these errors were encountered:
For code
Generates only one test
Waiting at least two tests
The text was updated successfully, but these errors were encountered: