From e31f99b42d909e52a1a723ddff0809c6e385c52a Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 22:00:17 +0100 Subject: [PATCH] cubeRootPlusOne 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 f9ec6c7..4c3ce24 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -204,4 +204,10 @@ void test_squareRootPlusOne(void) { // Add more test cases for different inputs and expected outputs } +void test_cubeRootPlusOne(void) { + float result = cubeRootPlusOne(8.0); + TEST_ASSERT_FLOAT_WITHIN(0.000001, 3.0, result); + // Add more test cases for different inputs and expected outputs +} + #endif \ No newline at end of file