diff --git a/test/kgV/test_kgV.c b/test/kgV/test_kgV.c index 05f8b00..2b1359f 100644 --- a/test/kgV/test_kgV.c +++ b/test/kgV/test_kgV.c @@ -82,3 +82,16 @@ void test_kgVOfFirstNumberNegative(){ //assert TEST_ASSERT_EQUAL_INT(expected, result); } + +void test_kgVOfSecondNumberNegative(){ + //arrange + int a = 2; + int b = -17; + int expected = 34; + + //act + int result = kgV(a, b); + + //assert + TEST_ASSERT_EQUAL_INT(expected, result); +}