diff --git a/test/test_convert_CM_in_M.c b/test/test_convert_CM_in_M.c index 5d456ab..eaa55d1 100644 --- a/test/test_convert_CM_in_M.c +++ b/test/test_convert_CM_in_M.c @@ -15,4 +15,11 @@ void test_cm_to_meter(void) { float expectedResult_1 = 1.0; float result_1 = cm_to_meter(value_1); TEST_ASSERT_EQUAL_FLOAT(expectedResult_1, result_1); +} +void test_cm_to_meter2(void) { + // Testfall 2: 50 cm sollten 0.5 Meter sein + float value_2 = 50.0; + float expectedResult_2 = 0.5; + float result_2 = cm_to_meter(value_2); + TEST_ASSERT_EQUAL_FLOAT(expectedResult_2, result_2); } \ No newline at end of file