From ad29e0759b333e6df88a87dafd503ae8581c7a29 Mon Sep 17 00:00:00 2001 From: fdai6674 Date: Sun, 5 Feb 2023 00:50:06 +0100 Subject: [PATCH] Unittest: test_20.c --- unittests/test_20.c | 8 ++++++++ unittests/test_main.c | 2 ++ unittests/tests.h | 4 +++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 unittests/test_20.c diff --git a/unittests/test_20.c b/unittests/test_20.c new file mode 100644 index 0000000..04cd81a --- /dev/null +++ b/unittests/test_20.c @@ -0,0 +1,8 @@ +#include "tests.h" + +void test_20() +{ + printf("TEST 20 STARTET\n"); + assert(!compareStrings("sauber", "sauber")); + printf("TEST 20 ERFOLGREICH\n"); +} \ No newline at end of file diff --git a/unittests/test_main.c b/unittests/test_main.c index 84bbc7f..04c2237 100644 --- a/unittests/test_main.c +++ b/unittests/test_main.c @@ -22,4 +22,6 @@ int main() test_16(); test_17(); test_18(); + test_19(); + test_20(); } \ No newline at end of file diff --git a/unittests/tests.h b/unittests/tests.h index 4ac1e64..064c319 100644 --- a/unittests/tests.h +++ b/unittests/tests.h @@ -22,4 +22,6 @@ void test_14(); void test_15(); void test_16(); void test_17(); -void test_18(); \ No newline at end of file +void test_18(); +void test_19(); +void test_20(); \ No newline at end of file