Browse Source

refactoring: renamed tests for simplified the zero cases

remotes/origin/ggT
cxnnqr 11 months ago
parent
commit
b99246a677
  1. 6
      test/ggT/test_ggT.c

6
test/ggT/test_ggT.c

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

Loading…
Cancel
Save