From 4b31f40819337a484f0a6f734cb929b9f8641e8e Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 4 Feb 2024 16:01:24 +0100 Subject: [PATCH] square funktion test --- src/test/test_funktionen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 0729a16..9ea83ab 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -11,6 +11,10 @@ void tearDown(void) { } +void test_square(void) { + float result = square(2.5); + TEST_ASSERT_EQUAL_FLOAT(6.25, result); +} #endif \ No newline at end of file