@ -11,4 +11,5 @@ float KzuC(float tempK);
float KzuF(float tempK);
const char* getFirstUnit(int input);
const char* getSecondUnit(int input);
#endif //TEMPERATUR_H
@ -59,4 +59,10 @@ const char *result = getFirstUnit(1);
char expected[] = "Celsius";
TEST_ASSERT_EQUAL_STRING(expected, result);
}
void test_returnUnit_second(void)
{
const char *result = getSecondUnit(2);
char expected[] = " Kelvin";
#endif