|
@ -59,4 +59,10 @@ const char *result = getFirstUnit(1); |
|
|
char expected[] = "Celsius"; |
|
|
char expected[] = "Celsius"; |
|
|
TEST_ASSERT_EQUAL_STRING(expected, result); |
|
|
TEST_ASSERT_EQUAL_STRING(expected, result); |
|
|
} |
|
|
} |
|
|
|
|
|
void test_returnUnit_second(void) |
|
|
|
|
|
{ |
|
|
|
|
|
const char *result = getSecondUnit(2); |
|
|
|
|
|
char expected[] = " Kelvin"; |
|
|
|
|
|
TEST_ASSERT_EQUAL_STRING(expected, result); |
|
|
|
|
|
} |
|
|
#endif |
|
|
#endif |