diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 3046c03..7dc2b47 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -63,4 +63,17 @@ void test_24_divided_by_3(void) TEST_ASSERT_EQUAL_INT(expected, actual); } +void test_2_toThePowerOf_7(void) +{ + /* arrange */ + int actual; + int expected = 128; + + /* act */ + actual = power(2, 7); + + /* assert */ + TEST_ASSERT_EQUAL_INT(expected, actual); +} + #endif \ No newline at end of file