diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index cd2c30c..ba69ca8 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -37,4 +37,17 @@ void test_11_multiplied_by_11(void) TEST_ASSERT_EQUAL_INT(expected, actual); } +void test_5_minus_2(void) +{ + /* arrange */ + int actual; + int expected = 3; + + /* act */ + actual = subtract(5, 2); + + /* assert */ + TEST_ASSERT_EQUAL_INT(expected, actual); +} + #endif \ No newline at end of file