@ -10,4 +10,5 @@ float FzuK(float tempF);
float KzuC(float tempK);
float KzuF(float tempK);
const char* getFirstUnit(int input);
#endif //TEMPERATUR_H
@ -53,4 +53,10 @@ float expected = 77;
TEST_ASSERT_EQUAL(expected, result);
}
void test_returnUnit_first(void)
{
const char *result = getFirstUnit(1);
char expected[] = "Celsius";
TEST_ASSERT_EQUAL_STRING(expected, result);
#endif