From 84199c23bd7b77d808948b6008a5fc12ec26d7fd Mon Sep 17 00:00:00 2001 From: fdai6674 Date: Sun, 5 Feb 2023 00:42:03 +0100 Subject: [PATCH] Unittest: test_17.c --- unittests/test_16.c | 6 +++--- unittests/test_17.c | 8 ++++++++ unittests/test_main.c | 1 + unittests/tests.h | 3 ++- 4 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 unittests/test_17.c diff --git a/unittests/test_16.c b/unittests/test_16.c index 9527289..e56363a 100644 --- a/unittests/test_16.c +++ b/unittests/test_16.c @@ -1,8 +1,8 @@ #include "tests.h" -void test_15() +void test_16() { - printf("TEST 15 STARTET\n"); + printf("TEST 16 STARTET\n"); assert(!compareStrings("Programmierer", "Programmierer")); - printf("TEST 15 ERFOLGREICH\n"); + printf("TEST 16 ERFOLGREICH\n"); } \ No newline at end of file diff --git a/unittests/test_17.c b/unittests/test_17.c new file mode 100644 index 0000000..7d2ae7a --- /dev/null +++ b/unittests/test_17.c @@ -0,0 +1,8 @@ +#include "tests.h" + +void test_17() +{ + printf("TEST 17 STARTET\n"); + assert(!compareStrings("Programm", "Programm")); + printf("TEST 17 ERFOLGREICH\n"); +} \ No newline at end of file diff --git a/unittests/test_main.c b/unittests/test_main.c index 483b56e..d8f0290 100644 --- a/unittests/test_main.c +++ b/unittests/test_main.c @@ -20,4 +20,5 @@ int main() test_14(); test_15(); test_16(); + test_17(); } \ No newline at end of file diff --git a/unittests/tests.h b/unittests/tests.h index cb86a4f..810e9a0 100644 --- a/unittests/tests.h +++ b/unittests/tests.h @@ -20,4 +20,5 @@ void test_12(); void test_13(); void test_14(); void test_15(); -void test_16(); \ No newline at end of file +void test_16(); +void test_17(); \ No newline at end of file