|
@ -16,3 +16,10 @@ void test_convert_kph_to_mps_kpstomps(void){ |
|
|
result = converter_kph_to_mps(3.6); |
|
|
result = converter_kph_to_mps(3.6); |
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_convert_kph_to_mps_mpstokps(void){ |
|
|
|
|
|
double expectedResult = 3.6; |
|
|
|
|
|
double result; |
|
|
|
|
|
result = converter_mps_to_kph(1.0); |
|
|
|
|
|
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result); |
|
|
|
|
|
} |