@ -7,4 +7,6 @@ float CzuK(float tempC);
float FzuC(float tempF);
float FzuK(float tempF);
float KzuC(float tempK);
#endif //TEMPERATUR_H
@ -39,4 +39,11 @@ float result = FzuK(77);
float expected = 298.15;
TEST_ASSERT_EQUAL(expected, result);
}
void test_temperaturRechner_KzuC(void)
{
float result = KzuC(298.15);
float expected = 25;
#endif