|
@ -51,3 +51,10 @@ void test_convert_time_sectohour(void){ |
|
|
result = converter_sec_in_hour(3600.0); |
|
|
result = converter_sec_in_hour(3600.0); |
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_convert_time_daysinyears(void){ |
|
|
|
|
|
double expectedResult = 1.0; |
|
|
|
|
|
double result; |
|
|
|
|
|
result = converter_days_to_years(365.0); |
|
|
|
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
|
|
|
} |