From f01a7070b9b2190a288234ed55049058ba623ee8 Mon Sep 17 00:00:00 2001 From: fdai7782 Date: Tue, 6 Feb 2024 16:03:39 +0000 Subject: [PATCH] Added unittest for tangentFunction --- src/test/c/test_taschenrechner.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/c/test_taschenrechner.c b/src/test/c/test_taschenrechner.c index eae1acc..e3b4388 100644 --- a/src/test/c/test_taschenrechner.c +++ b/src/test/c/test_taschenrechner.c @@ -126,6 +126,10 @@ void test_cosineFunction(void) { TEST_ASSERT_EQUAL_FLOAT(1.0, cosineFunction(0.0)); } - +// Tangent function +void test_tangentFunction(void) { + // Your test code here + TEST_ASSERT_EQUAL_FLOAT(0.0, tangentFunction(0.0)); +} #endif // TEST