From a56bb1b35de73032da567f19e5b468db070b7c7b Mon Sep 17 00:00:00 2001 From: fdai7403 Date: Fri, 3 Feb 2023 21:30:26 +0100 Subject: [PATCH] Unittest: test_10.c --- unittests/test_10.c | 8 ++++++++ unittests/test_main.c | 1 + unittests/tests.h | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 unittests/test_10.c diff --git a/unittests/test_10.c b/unittests/test_10.c new file mode 100644 index 0000000..f8f2218 --- /dev/null +++ b/unittests/test_10.c @@ -0,0 +1,8 @@ +#include "tests.h" + +void test_10() +{ + printf("TEST 10 STARTET\n"); + assert(!printEndMsg(45, 25)); + printf("TEST 10 ERFOLGREICH\n"); +} \ No newline at end of file diff --git a/unittests/test_main.c b/unittests/test_main.c index 9659a60..db50b7e 100644 --- a/unittests/test_main.c +++ b/unittests/test_main.c @@ -13,4 +13,5 @@ int main() test_7(); test_8(); test_9(); + test_10(); } \ No newline at end of file diff --git a/unittests/tests.h b/unittests/tests.h index dcd65a9..4650e39 100644 --- a/unittests/tests.h +++ b/unittests/tests.h @@ -13,4 +13,5 @@ void test_5(); void test_6(); void test_7(); void test_8(); -void test_9(); \ No newline at end of file +void test_9(); +void test_10(); \ No newline at end of file