From ed35b3efc303b11e2ee21afee65d82e4660beac3 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 4 Feb 2024 21:55:07 +0100 Subject: [PATCH] ceilingValue 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 7d7c1b8..86c3260 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -62,4 +62,10 @@ void test_floorValue(void) { TEST_ASSERT_EQUAL_FLOAT(5.0, result); } +void test_ceilingValue(void) { + float result = ceilingValue(5.2); + TEST_ASSERT_EQUAL_FLOAT(6.0, result); + // Add more test cases for different inputs and expected outputs +} + #endif \ No newline at end of file