From bd0ea51f78bae0bd143ac88ffabdcfbe0486b45c Mon Sep 17 00:00:00 2001 From: fdai7782 Date: Tue, 6 Feb 2024 16:07:09 +0000 Subject: [PATCH] Added unittest for naturalLogarithmFunction --- src/test/c/test_taschenrechner.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/c/test_taschenrechner.c b/src/test/c/test_taschenrechner.c index 2bdfaf1..f3f7517 100644 --- a/src/test/c/test_taschenrechner.c +++ b/src/test/c/test_taschenrechner.c @@ -138,5 +138,10 @@ void test_logarithmFunction(void) { TEST_ASSERT_EQUAL_FLOAT(1.0, logarithmFunction(10.0)); } +// Natural logarithm function +void test_naturalLogarithmFunction(void) { + // Your test code here + TEST_ASSERT_EQUAL_FLOAT(0.0, naturalLogarithmFunction(1.0)); +} #endif // TEST