From 740657c846e3ace6357c72bc9f966ec74c96ea52 Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 22:13:49 +0100 Subject: [PATCH] test_cosineDegrees 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 5cfa9b4..04aa2a7 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -216,4 +216,10 @@ void test_sineDegrees(void) { // Add more test cases for different inputs and expected outputs } +void test_cosineDegrees(void) { + float result = cosineDegrees(60.0); + TEST_ASSERT_FLOAT_WITHIN(0.000001, 0.5, result); + // Add more test cases for different inputs and expected outputs +} + #endif \ No newline at end of file