From fb1cb2ac4a4940b9cceae530b6a1a5eeae779c5e Mon Sep 17 00:00:00 2001 From: fdai7033 Date: Tue, 31 Jan 2023 20:38:21 +0100 Subject: [PATCH] Unittest: test_5.c --- unittests/test_5.c | 8 ++++++++ unittests/test_main.c | 1 + unittests/tests.h | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 unittests/test_5.c diff --git a/unittests/test_5.c b/unittests/test_5.c new file mode 100644 index 0000000..cb75d07 --- /dev/null +++ b/unittests/test_5.c @@ -0,0 +1,8 @@ +#include "tests.h" + +void test_5() +{ + printf("TEST 5 STARTET\n"); + assert(!printEndMsg(1000, 2000)); + printf("TEST 5 ERFOLGREICH\n"); +} \ No newline at end of file diff --git a/unittests/test_main.c b/unittests/test_main.c index 33ef33b..bc9cb02 100644 --- a/unittests/test_main.c +++ b/unittests/test_main.c @@ -8,4 +8,5 @@ int main() test_2(); test_3(); test_4(); + test_5(); } \ No newline at end of file diff --git a/unittests/tests.h b/unittests/tests.h index 47fe48d..90830ec 100644 --- a/unittests/tests.h +++ b/unittests/tests.h @@ -8,4 +8,5 @@ void test_1(); void test_2(); void test_3(); -void test_4(); \ No newline at end of file +void test_4(); +void test_5(); \ No newline at end of file