From f9df9d1aaea275b4f4bd1b6540f3e33a82ae47fa Mon Sep 17 00:00:00 2001 From: fdai7467 Date: Sat, 4 Feb 2023 11:57:41 +0100 Subject: [PATCH] Unittest: test_12.c --- unittests/test_12.c | 8 ++++++++ unittests/test_main.c | 1 + unittests/tests.h | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 unittests/test_12.c diff --git a/unittests/test_12.c b/unittests/test_12.c new file mode 100644 index 0000000..afd189f --- /dev/null +++ b/unittests/test_12.c @@ -0,0 +1,8 @@ +#include "tests.h" + +void test_12() +{ + printf("TEST 12 STARTET\n"); + assert(!printEndMsg(100, 200)); + printf("TEST 12 ERFOLGREICH\n"); +} \ No newline at end of file diff --git a/unittests/test_main.c b/unittests/test_main.c index e81dd03..8e262bb 100644 --- a/unittests/test_main.c +++ b/unittests/test_main.c @@ -15,4 +15,5 @@ int main() test_9(); test_10(); test_11(); + test_12(); } \ No newline at end of file diff --git a/unittests/tests.h b/unittests/tests.h index 99bce0f..9210433 100644 --- a/unittests/tests.h +++ b/unittests/tests.h @@ -15,4 +15,5 @@ void test_7(); void test_8(); void test_9(); void test_10(); -void test_11(); \ No newline at end of file +void test_11(); +void test_12(); \ No newline at end of file