Browse Source

fixed test_ggTOf5And10

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

6
test/ggT/test_ggT.c

@ -4,9 +4,9 @@
void setUp(){}
void tearDown(){}
void test_ggTOf2And10(){
void test_ggTOf5And10(){
//arrange
int a = 2;
int a = 5;
int b = 10;
int expected = 5;
@ -14,5 +14,5 @@ void test_ggTOf2And10(){
int result = ggT(a,b);
//assert
TEST_ASSERT_EQUAL_STRING(expected, result);
TEST_ASSERT_EQUAL_INT(expected, result);
}
Loading…
Cancel
Save