From 493ebd06262f0c13c01fa1915faab29e63598f4a Mon Sep 17 00:00:00 2001 From: fdai7403 <alexander.goller@informatik.hs-fulda.de> Date: Fri, 3 Feb 2023 21:26:56 +0100 Subject: [PATCH] Unittest: test_8.c --- unittests/test_8.c | 9 +++++++++ unittests/test_main.c | 1 + unittests/tests.h | 3 ++- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 unittests/test_8.c diff --git a/unittests/test_8.c b/unittests/test_8.c new file mode 100644 index 0000000..93195d0 --- /dev/null +++ b/unittests/test_8.c @@ -0,0 +1,9 @@ +#include "tests.h" + +void test_8() +{ + printf("TEST 8 STARTET\n"); + char test[25]; + assert(!resetInput(test)); + printf("TEST 8 ERFOLGREICH\n"); +} \ No newline at end of file diff --git a/unittests/test_main.c b/unittests/test_main.c index a8d784d..a7b37df 100644 --- a/unittests/test_main.c +++ b/unittests/test_main.c @@ -11,4 +11,5 @@ int main() test_5(); test_6(); test_7(); + test_8(); } \ No newline at end of file diff --git a/unittests/tests.h b/unittests/tests.h index b0c33cc..f2ef0d1 100644 --- a/unittests/tests.h +++ b/unittests/tests.h @@ -11,4 +11,5 @@ void test_3(); void test_4(); void test_5(); void test_6(); -void test_7(); \ No newline at end of file +void test_7(); +void test_8(); \ No newline at end of file