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