From da9383d3721ed19aa9c453d8123b6bdfc886d668 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 4 Feb 2024 22:02:21 +0100 Subject: [PATCH] maximum 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 1ccee94..9fe8f3a 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -74,4 +74,10 @@ void test_absoluteDifference(void) { // Add more test cases for different inputs and expected outputs } +void test_maximum(void) { + float result = maximum(5.0, 9.0); + TEST_ASSERT_FLOAT_WITHIN(0.000001, 9.0, result); + // Add more test cases for different inputs and expected outputs +} + #endif \ No newline at end of file