From b0ce1fe90ce3524a27404131295c9d066d567ecb Mon Sep 17 00:00:00 2001 From: Hendrik Sitzmann Date: Thu, 8 Feb 2024 04:49:22 +0100 Subject: [PATCH] added test for input 0 --- test/fakultaet/test_fakultaet.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/fakultaet/test_fakultaet.c b/test/fakultaet/test_fakultaet.c index e69de29..49b1d16 100644 --- a/test/fakultaet/test_fakultaet.c +++ b/test/fakultaet/test_fakultaet.c @@ -0,0 +1,9 @@ +#include "unity.h" +#include "fakultaet.h" + +void setUp(){} +void tearDown(){} + +void test_fakultaetOf0() { + TEST_ASSERT_EQUAL_INT(1, fakultaet(0)); +} \ No newline at end of file