From 71d773283dda33b55e3fc15c5c98fbaf5cc6bd50 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Wed, 7 Feb 2024 17:05:07 +0100 Subject: [PATCH] refactoring: naturalLogarithm function test change --- src/test/test_funktionen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 240ba30..d89710f 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -37,12 +37,12 @@ void test_absolute_for_5(void) { TEST_ASSERT_EQUAL_FLOAT(5.0, result); } -void test_logarithm(void) { +void test_logarithm_for_100(void) { float result = logarithm(100.0); TEST_ASSERT_FLOAT_WITHIN(0.000001, 2.0, result); } -void test_naturalLogarithm(void) { +void test_naturalLogarithm_for_100(void) { float result = naturalLogarithm(100.0); TEST_ASSERT_FLOAT_WITHIN(0.000001, 4.60517, result); }