Browse Source

Commited Unit Test

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

7
test/test_convert_time.c

@ -16,3 +16,10 @@ void test_convert_time_sectomin(void){
result = converter_sec_to_min(60.0);
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result);
}
void test_convert_time_mintosec(void){
double expectedResult = 60.0;
double result;
result = converter_min_to_sec(1.0);
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result);
}
Loading…
Cancel
Save