From 65c7cafc1c36f7d83ac907637ff141f8e9a07030 Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 21:29:05 +0100 Subject: [PATCH] logarithmPlusOne test --- src/test/test_funktionen.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index d6546dc..09bed6c 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -184,4 +184,10 @@ void test_radiansToDegrees(void) { TEST_ASSERT_EQUAL_FLOAT(90.0, result); // Add more test cases for different inputs and expected outputs } + +void test_logarithmPlusOne(void) { + float result = logarithmPlusOne(10.0); + TEST_ASSERT_EQUAL_FLOAT(2.0, result); + // Add more test cases for different inputs and expected outputs +} #endif \ No newline at end of file