|
@ -37,3 +37,10 @@ void test_convert_time_mintohour(void){ |
|
|
result = converter_min_to_hour(60.0); |
|
|
result = converter_min_to_hour(60.0); |
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_convert_time_hourinsec(void){ |
|
|
|
|
|
double expectedResult = 3600.0; |
|
|
|
|
|
double result; |
|
|
|
|
|
result = converter_hour_in_sec(1.0); |
|
|
|
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
|
|
|
} |