Browse Source

Commited Unit Test

remotes/origin/production
Jonas Zitzmann 11 months ago
parent
commit
6cc53cd215
  1. 7
      test/test_convert_time.c

7
test/test_convert_time.c

@ -30,3 +30,10 @@ void test_convert_time_hourtomin(void){
result = converter_hour_to_min(1.0);
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result);
}
void test_convert_time_mintohour(void){
double expectedResult = 1.0;
double result;
result = converter_min_to_hour(60.0);
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result);
}
Loading…
Cancel
Save