|
@ -58,3 +58,10 @@ void test_convert_time_daysinyears(void){ |
|
|
result = converter_days_to_years(365.0); |
|
|
result = converter_days_to_years(365.0); |
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_convert_time_yearsindays(void){ |
|
|
|
|
|
double expectedResult = 365.0; |
|
|
|
|
|
double result; |
|
|
|
|
|
result = converter_years_to_days(1.0); |
|
|
|
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
|
|
|
} |