From 51f5789b87b5d5da4268aec94e987a67962d5ecd Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 22:22:26 +0100 Subject: [PATCH] test_tangentDegrees test --- src/test/test_funktionen.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 04aa2a7..7161783 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -222,4 +222,13 @@ void test_cosineDegrees(void) { // Add more test cases for different inputs and expected outputs } +void test_tangentDegrees(void) { + float result = tangentDegrees(30.0); + TEST_ASSERT_FLOAT_WITHIN(0.000001, 0.5773503, result); + // Add more test cases for different inputs and expected outputs +} + + + + #endif \ No newline at end of file