You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
293 B
27 lines
293 B
#ifdef TEST
|
|
|
|
#include "unity.h"
|
|
|
|
#include "berechnung.h"
|
|
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
|
|
void test_berechnung_2_convertsToDigit(void)
|
|
{
|
|
/* arrange */
|
|
char* result;
|
|
char expected[] = "2\n";
|
|
|
|
/* act */
|
|
result = convert(2);
|
|
|
|
/* assert */
|
|
}
|
|
|
|
#endif // TEST
|