From 794ed24928ec7ea1b1deedd2a24d9a412cb281d0 Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 21:22:52 +0100 Subject: [PATCH] radiansToDegrees 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 6630381..d6546dc 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -178,4 +178,10 @@ void test_degreesToRadians(void) { TEST_ASSERT_EQUAL_FLOAT(1.570796, result); // Add more test cases for different inputs and expected outputs } + +void test_radiansToDegrees(void) { + float result = radiansToDegrees(1.570796); + TEST_ASSERT_EQUAL_FLOAT(90.0, result); + // Add more test cases for different inputs and expected outputs +} #endif \ No newline at end of file