From 512520d23ffd0290d0e4ac9346579833617bc04d Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 4 Feb 2024 16:15:42 +0100 Subject: [PATCH] cube funktion test --- src/test/test_funktionen.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 3c10c4b..a49ef97 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -21,4 +21,9 @@ void test_squareRoot(void) { TEST_ASSERT_EQUAL_FLOAT(3.0, result); } +void test_cube(void) { + float result = cube(2.0); + TEST_ASSERT_EQUAL_FLOAT(8.0, result); +} + #endif \ No newline at end of file