diff --git a/test/ggT/test_ggT.c b/test/ggT/test_ggT.c index 6230370..f2d3f12 100644 --- a/test/ggT/test_ggT.c +++ b/test/ggT/test_ggT.c @@ -29,3 +29,16 @@ void test_ggTOf0AndPositiveNumber(){ //assert TEST_ASSERT_EQUAL_INT(expected, result); } + +void test_ggTOfPositiveAnd0(){ + //arrange + int a = 10; + int b = 0; + int expected = 10; + + //act + int result = ggT(a,b); + + //assert + TEST_ASSERT_EQUAL_INT(expected, result); +} \ No newline at end of file