diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index c980a73..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "files.associations": { - "tests.h": "c" - } -} \ No newline at end of file diff --git a/unittests/test_4.c b/unittests/test_4.c new file mode 100644 index 0000000..d145b95 --- /dev/null +++ b/unittests/test_4.c @@ -0,0 +1,9 @@ +#include "tests.h" + +void test_4() +{ + printf("TEST 4 STARTET\n"); + char test[12]; + assert(!resetInput(test)); + printf("TEST 4 ERFOLGREICH\n"); +} \ No newline at end of file diff --git a/unittests/test_main.c b/unittests/test_main.c index 7fff852..33ef33b 100644 --- a/unittests/test_main.c +++ b/unittests/test_main.c @@ -7,4 +7,5 @@ int main() test_1(); test_2(); test_3(); + test_4(); } \ No newline at end of file diff --git a/unittests/tests.h b/unittests/tests.h index 30f19d7..47fe48d 100644 --- a/unittests/tests.h +++ b/unittests/tests.h @@ -7,4 +7,5 @@ void test_1(); void test_2(); -void test_3(); \ No newline at end of file +void test_3(); +void test_4(); \ No newline at end of file