diff --git a/test/kgV/test_kgV.c b/test/kgV/test_kgV.c new file mode 100644 index 0000000..6c15e75 --- /dev/null +++ b/test/kgV/test_kgV.c @@ -0,0 +1,17 @@ +#include "unity.h" +#include "kgV.h" + +void setUp(void){} +void tearDown(void){} + +void test_kgV8And6(void) { + //arrange + int a = 8; + int b = 6; + int expected = 24; + + //act + int result = kgV(a, b); + + TEST_ASSERT_EQUAL_INT(expected, result); +}