diff --git a/test/ggT/test_ggT.c b/test/ggT/test_ggT.c index f2d3f12..8fabac0 100644 --- a/test/ggT/test_ggT.c +++ b/test/ggT/test_ggT.c @@ -41,4 +41,17 @@ void test_ggTOfPositiveAnd0(){ //assert TEST_ASSERT_EQUAL_INT(expected, result); +} + +void test_ggTOfBoth0(){ + //arrange + int a = 0; + int b = 0; + int expected = 0; + + //act + int result = ggT(a,b); + + //assert + TEST_ASSERT_EQUAL_INT(expected,result); } \ No newline at end of file