From 05f5c81d72049abceef72506f006ff134f7e8dfa Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 21:42:25 +0100 Subject: [PATCH] naturalLogarithmPlusOne test --- src/test/test_funktionen.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 09bed6c..4d17942 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -190,4 +190,11 @@ void test_logarithmPlusOne(void) { TEST_ASSERT_EQUAL_FLOAT(2.0, result); // Add more test cases for different inputs and expected outputs } + +void test_naturalLogarithmPlusOne(void) { + float result = naturalLogarithmPlusOne(10.0); + TEST_ASSERT_EQUAL_FLOAT(3.302585, result); +// Add more test cases for different inputs and expected outputs + +} #endif \ No newline at end of file