From 2242a05670141857bbe98d6da3519aed79d8f5f4 Mon Sep 17 00:00:00 2001 From: fdai7403 Date: Fri, 3 Feb 2023 21:23:25 +0100 Subject: [PATCH] Unittest: test_6.c --- unittests/test_6.c | 8 ++++++++ unittests/test_main.c | 1 + unittests/tests.h | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 unittests/test_6.c diff --git a/unittests/test_6.c b/unittests/test_6.c new file mode 100644 index 0000000..f01031f --- /dev/null +++ b/unittests/test_6.c @@ -0,0 +1,8 @@ +#include "tests.h" + +void test_6() +{ + printf("TEST 6 STARTET\n"); + assert(!printEndMsg(500, 875)); + printf("TEST 6 ERFOLGREICH\n"); +} \ No newline at end of file diff --git a/unittests/test_main.c b/unittests/test_main.c index bc9cb02..355834a 100644 --- a/unittests/test_main.c +++ b/unittests/test_main.c @@ -9,4 +9,5 @@ int main() test_3(); test_4(); test_5(); + test_6(); } \ No newline at end of file diff --git a/unittests/tests.h b/unittests/tests.h index 90830ec..690d748 100644 --- a/unittests/tests.h +++ b/unittests/tests.h @@ -9,4 +9,5 @@ void test_1(); void test_2(); void test_3(); void test_4(); -void test_5(); \ No newline at end of file +void test_5(); +void test_6(); \ No newline at end of file