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