@ -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
@ -1,28 +0,0 @@
#include "test.h"
void test_test__return_5(void)
/* arrange */
int expected = 5;
int actual;
/* act */
actual = return_5();
TEST_ASSERT_EQUAL_INT(expected, actual);
#endif // TEST