diff --git a/test/ggT/test_ggT.c b/test/ggT/test_ggT.c index 8fabac0..5730eac 100644 --- a/test/ggT/test_ggT.c +++ b/test/ggT/test_ggT.c @@ -52,6 +52,19 @@ void test_ggTOfBoth0(){ //act int result = ggT(a,b); + //assert + TEST_ASSERT_EQUAL_INT(expected,result); +} + +void test_ggTOfCoprimes(){ + //arrange + int a = 13; + int b = 27; + int expected = 1; + + //act + int result = ggT(a,b); + //assert TEST_ASSERT_EQUAL_INT(expected,result); } \ No newline at end of file