From 4135907e6d01254735465905134e1460715654e4 Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 22:07:13 +0100 Subject: [PATCH] sineDegrees 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 4c3ce24..5cfa9b4 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -210,4 +210,10 @@ void test_cubeRootPlusOne(void) { // Add more test cases for different inputs and expected outputs } +void test_sineDegrees(void) { + float result = sineDegrees(45.0); + TEST_ASSERT_FLOAT_WITHIN(0.000001, 0.7071068, result); + // Add more test cases for different inputs and expected outputs +} + #endif \ No newline at end of file