From 2314fb4048251529dd86b2d4ae9effa875ff2ee3 Mon Sep 17 00:00:00 2001 From: Hendrik Sitzmann Date: Thu, 8 Feb 2024 19:13:49 +0100 Subject: [PATCH] added test for true --- test/primzahl/test_primzahl.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/test/primzahl/test_primzahl.c b/test/primzahl/test_primzahl.c index fa8aa2b..e36a611 100644 --- a/test/primzahl/test_primzahl.c +++ b/test/primzahl/test_primzahl.c @@ -1,2 +1,15 @@ #include "unity.h" -#include "primzahl.h" \ No newline at end of file +#include "primzahl.h" + +void setUP(){} +void tearDown(){} + +void test_primzahl() { + TEST_ASSERT_TRUE(primzahl(2)); + TEST_ASSERT_TRUE(primzahl(3)); + TEST_ASSERT_TRUE(primzahl(5)); + TEST_ASSERT_TRUE(primzahl(7)); + + + +} \ No newline at end of file