diff --git a/test/ggT/test_ggT.c b/test/ggT/test_ggT.c index c8473d5..6230370 100644 --- a/test/ggT/test_ggT.c +++ b/test/ggT/test_ggT.c @@ -16,3 +16,16 @@ void test_ggTOf5And10(){ //assert TEST_ASSERT_EQUAL_INT(expected, result); } + +void test_ggTOf0AndPositiveNumber(){ + //arrange + int a = 0; + int b = 5; + int expected = 5; + + //act + int result = ggT(a,b); + + //assert + TEST_ASSERT_EQUAL_INT(expected, result); +}