From e1f71ece6c24c220018e92969d10fdf8b9a84d7e Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 4 Feb 2024 21:01:03 +0100 Subject: [PATCH] power 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 97e9ceb..4423ae8 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -49,4 +49,10 @@ void test_naturalLogarithm(void) { // Add more test cases for different inputs and expected outputs } +void test_power(void) { + float result = power(2.0, 3.0); + TEST_ASSERT_FLOAT_WITHIN(0.000001, 8.0, result); + // Add more test cases for different inputs and expected outputs +} + #endif \ No newline at end of file