From b87f8bb2c0214b2faad852c911bde2119e2f5be0 Mon Sep 17 00:00:00 2001 From: Hendrik Sitzmann Date: Thu, 8 Feb 2024 05:09:59 +0100 Subject: [PATCH] refactoring: added test comments --- test/fakultaet/test_fakultaet.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/fakultaet/test_fakultaet.c b/test/fakultaet/test_fakultaet.c index 03eb75c..4414b23 100644 --- a/test/fakultaet/test_fakultaet.c +++ b/test/fakultaet/test_fakultaet.c @@ -4,14 +4,17 @@ void setUp(){} void tearDown(){} +// Test for the input zero void test_fakultaetOf0() { TEST_ASSERT_EQUAL_INT(1, fakultaet(0)); } +// Test for the input one void test_fakultaetOf1() { TEST_ASSERT_EQUAL_INT(1, fakultaet(1)); } +// Test for the input five void test_fakultaetOf5() { TEST_ASSERT_EQUAL_INT(120, fakultaet(5)); } \ No newline at end of file