From 8bff7262a62afa059564f737e562cab48b564928 Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 21:01:04 +0100 Subject: [PATCH] arcTangent Funktion test --- src/test/test_funktionen.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 15f80dd..fc41a9b 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -167,4 +167,9 @@ void test_arcCosine(void) { // Add more test cases for different inputs and expected outputs } +void test_arcTangent(void) { + float result = arcTangent(1.0); + TEST_ASSERT_EQUAL_FLOAT(0.785398, result); + // Add more test cases for different inputs and expected outputs +} #endif \ No newline at end of file