From 42fdd85b3c58c7d1165611e7ff2e0625e3d57bb6 Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 21:47:12 +0100 Subject: [PATCH] squareRootPlusOne test --- src/test/test_funktionen.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 4d17942..f9ec6c7 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -197,4 +197,11 @@ void test_naturalLogarithmPlusOne(void) { // Add more test cases for different inputs and expected outputs } + +void test_squareRootPlusOne(void) { + float result = squareRootPlusOne(9.0); + TEST_ASSERT_EQUAL_FLOAT(4.0, result); + // Add more test cases for different inputs and expected outputs +} + #endif \ No newline at end of file