From 1f820feab0a6f3a58588105a0a4a11e9dee11653 Mon Sep 17 00:00:00 2001 From: fdai7782 Date: Tue, 6 Feb 2024 16:00:23 +0000 Subject: [PATCH] Added unittest for sineFunction --- src/test/c/test_taschenrechner.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/c/test_taschenrechner.c b/src/test/c/test_taschenrechner.c index a5dcd59..d369a47 100644 --- a/src/test/c/test_taschenrechner.c +++ b/src/test/c/test_taschenrechner.c @@ -114,5 +114,10 @@ void test_squareRootFunction(void) { TEST_ASSERT_EQUAL_FLOAT(2.0, squareRootFunction(4.0)); } +// Sine function +void test_sineFunction(void) { + // Your test code here + TEST_ASSERT_EQUAL_FLOAT(0.0, sineFunction(0.0)); +} #endif // TEST