|
@ -17,7 +17,7 @@ void test_ggTOf5And10(){ |
|
|
TEST_ASSERT_EQUAL_INT(expected, result); |
|
|
TEST_ASSERT_EQUAL_INT(expected, result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void test_ggTOf0AndPositiveNumber(){ |
|
|
|
|
|
|
|
|
void test_ggTOfFirstNumberZero(){ |
|
|
//arrange |
|
|
//arrange |
|
|
int a = 0; |
|
|
int a = 0; |
|
|
int b = 5; |
|
|
int b = 5; |
|
@ -30,7 +30,7 @@ void test_ggTOf0AndPositiveNumber(){ |
|
|
TEST_ASSERT_EQUAL_INT(expected, result); |
|
|
TEST_ASSERT_EQUAL_INT(expected, result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void test_ggTOfPositiveAnd0(){ |
|
|
|
|
|
|
|
|
void test_ggTOfSecondNumberZero(){ |
|
|
//arrange |
|
|
//arrange |
|
|
int a = 10; |
|
|
int a = 10; |
|
|
int b = 0; |
|
|
int b = 0; |
|
@ -43,7 +43,7 @@ void test_ggTOfPositiveAnd0(){ |
|
|
TEST_ASSERT_EQUAL_INT(expected, result); |
|
|
TEST_ASSERT_EQUAL_INT(expected, result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void test_ggTOfBoth0(){ |
|
|
|
|
|
|
|
|
void test_ggTOfBothNumbersZero(){ |
|
|
//arrange |
|
|
//arrange |
|
|
int a = 0; |
|
|
int a = 0; |
|
|
int b = 0; |
|
|
int b = 0; |
|
|