27 lines
349 B

#ifdef TEST
#include "unity.h"
#include "game100.h"
void setUp(void){
//Wenn Funktion Vorraussetzungen braucht
}
void tearDown(void){
}
void test_log(void){
/* arrange */
int result;
double a = 4;
/* act */
result = log(4);
/* assert */
TEST_ASSERT_EQUAL_INT(4, result);//log(4)= 0.60205991
}
#endif // TEST