From 403fcc9a31f80ec83cc39cf8cce97dfcd60e66c8 Mon Sep 17 00:00:00 2001 From: fdai7403 Date: Fri, 3 Feb 2023 21:28:28 +0100 Subject: [PATCH] Unittest: test_9.c --- unittests/test_9.c | 8 ++++++++ unittests/test_main.c | 1 + unittests/tests.h | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 unittests/test_9.c diff --git a/unittests/test_9.c b/unittests/test_9.c new file mode 100644 index 0000000..078f9bc --- /dev/null +++ b/unittests/test_9.c @@ -0,0 +1,8 @@ +#include "tests.h" + +void test_9() +{ + printf("TEST 9 STARTET\n"); + assert(!compareStrings("Hund", "Hund")); + printf("TEST 9 ERFOLGREICH\n"); +} \ No newline at end of file diff --git a/unittests/test_main.c b/unittests/test_main.c index a7b37df..9659a60 100644 --- a/unittests/test_main.c +++ b/unittests/test_main.c @@ -12,4 +12,5 @@ int main() test_6(); test_7(); test_8(); + test_9(); } \ No newline at end of file diff --git a/unittests/tests.h b/unittests/tests.h index f2ef0d1..dcd65a9 100644 --- a/unittests/tests.h +++ b/unittests/tests.h @@ -12,4 +12,5 @@ void test_4(); void test_5(); void test_6(); void test_7(); -void test_8(); \ No newline at end of file +void test_8(); +void test_9(); \ No newline at end of file