Browse Source

test_test_Mathe_plus

remotes/origin/Yasin
fdai7731 11 months ago
parent
commit
f8edfa0655
  1. 1
      .gitignore
  2. BIN
      src/main/c/a.exe
  3. 20
      src/test/c/test_Mathe.c
  4. 0
      src/test/c/test_test.c

1
.gitignore

@ -1 +1,2 @@
target/**
src/test/c/test_test.c

BIN
src/main/c/a.exe

20
src/test/c/test_Mathe.c

@ -0,0 +1,20 @@
#ifdef TEST
#include "unity.h"
#include "Mathe.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_Mathe_plus(void)
{
int a=berechneErgebnis(1,2,'+');
/* assert */
TEST_ASSERT_EQUAL_INT(a,3);
}
#endif

0
src/test/c/test_test.c

Loading…
Cancel
Save