diff --git a/src/test/c/test_taschenrechner.c b/src/test/c/test_taschenrechner.c index f3f7517..d67d94a 100644 --- a/src/test/c/test_taschenrechner.c +++ b/src/test/c/test_taschenrechner.c @@ -144,4 +144,11 @@ void test_naturalLogarithmFunction(void) { TEST_ASSERT_EQUAL_FLOAT(0.0, naturalLogarithmFunction(1.0)); } +// Logarithm with base 2 function +void test_logarithmBase2Function(void) { + // Your test code here + TEST_ASSERT_EQUAL_FLOAT(3.0, logarithmBase2Function(8.0)); +} + + #endif // TEST