|
@ -23,3 +23,10 @@ void test_convert_time_mintosec(void){ |
|
|
result = converter_min_to_sec(1.0); |
|
|
result = converter_min_to_sec(1.0); |
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_convert_time_hourtomin(void){ |
|
|
|
|
|
double expectedResult = 60.0; |
|
|
|
|
|
double result; |
|
|
|
|
|
result = converter_hour_to_min(1.0); |
|
|
|
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
|
|
|
} |