From 003fb800b37baf55a11a08b9f3a163bb03005ff3 Mon Sep 17 00:00:00 2001 From: fdai7403 Date: Fri, 3 Feb 2023 21:25:18 +0100 Subject: [PATCH] Unittest: test_7.c --- unittests/test_7.c | 8 ++++++++ unittests/test_main.c | 1 + unittests/tests.h | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 unittests/test_7.c diff --git a/unittests/test_7.c b/unittests/test_7.c new file mode 100644 index 0000000..91bd948 --- /dev/null +++ b/unittests/test_7.c @@ -0,0 +1,8 @@ +#include "tests.h" + +void test_7() +{ + printf("TEST 7 STARTET\n"); + assert(!compareStrings("test", "test")); + printf("TEST 7 ERFOLGREICH\n"); +} \ No newline at end of file diff --git a/unittests/test_main.c b/unittests/test_main.c index 355834a..a8d784d 100644 --- a/unittests/test_main.c +++ b/unittests/test_main.c @@ -10,4 +10,5 @@ int main() test_4(); test_5(); test_6(); + test_7(); } \ No newline at end of file diff --git a/unittests/tests.h b/unittests/tests.h index 690d748..b0c33cc 100644 --- a/unittests/tests.h +++ b/unittests/tests.h @@ -10,4 +10,5 @@ void test_2(); void test_3(); void test_4(); void test_5(); -void test_6(); \ No newline at end of file +void test_6(); +void test_7(); \ No newline at end of file