|
@ -53,4 +53,10 @@ float expected = 77; |
|
|
TEST_ASSERT_EQUAL(expected, result); |
|
|
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 |
|
|
#endif |