Browse Source

Unittest: test_4.c

main
fdai7033 2 years ago
parent
commit
b829c32d42
  1. 5
      .vscode/settings.json
  2. 9
      unittests/test_4.c
  3. 1
      unittests/test_main.c
  4. 1
      unittests/tests.h

5
.vscode/settings.json

@ -1,5 +0,0 @@
{
"files.associations": {
"tests.h": "c"
}
}

9
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");
}

1
unittests/test_main.c

@ -7,4 +7,5 @@ int main()
test_1(); test_1();
test_2(); test_2();
test_3(); test_3();
test_4();
} }

1
unittests/tests.h

@ -8,3 +8,4 @@
void test_1(); void test_1();
void test_2(); void test_2();
void test_3(); void test_3();
void test_4();
Loading…
Cancel
Save