diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index ba69ca8..3046c03 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -50,4 +50,17 @@ void test_5_minus_2(void) TEST_ASSERT_EQUAL_INT(expected, actual); } +void test_24_divided_by_3(void) +{ + /* arrange */ + int actual; + int expected = 8; + + /* act */ + actual = divide(24, 3); + + /* assert */ + TEST_ASSERT_EQUAL_INT(expected, actual); +} + #endif \ No newline at end of file