From b87f0a2713724b8220bdab985936bfeef0504b55 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 4 Feb 2024 20:53:34 +0100 Subject: [PATCH] log_base_e Funktion 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 39eb3d5..97e9ceb 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -43,4 +43,10 @@ void test_logarithm(void) { // Add more test cases for different inputs and expected outputs } +void test_naturalLogarithm(void) { + float result = naturalLogarithm(100.0); + TEST_ASSERT_FLOAT_WITHIN(0.000001, 4.60517, result); + // Add more test cases for different inputs and expected outputs +} + #endif \ No newline at end of file