Browse Source

Unittest: CzuF negativ

main^2
Kevin Ludwig 11 months ago
parent
commit
84c93bae19
  1. 6
      test/test_temperatur.c

6
test/test_temperatur.c

@ -18,6 +18,12 @@ float result = CzuF(25);
float expected = 77;
TEST_ASSERT_EQUAL(expected, result);
}
void test_temperaturRechner_CzuFnegativ(void)
{
float result = CzuF(-5);
float expected = 23;
TEST_ASSERT_EQUAL(expected, result);
}
void test_temperaturRechner_CzuK(void)
{

Loading…
Cancel
Save