diff --git a/test/test_convert_kph_to_mps.c b/test/test_convert_kph_to_mps.c index 62b3355..8d09c7b 100644 --- a/test/test_convert_kph_to_mps.c +++ b/test/test_convert_kph_to_mps.c @@ -16,3 +16,10 @@ void test_convert_kph_to_mps_kpstomps(void){ result = converter_kph_to_mps(3.6); 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); +} \ No newline at end of file