diff --git a/test/test_division.c b/test/test_division.c index 330359e..8eb9e41 100644 --- a/test/test_division.c +++ b/test/test_division.c @@ -22,5 +22,13 @@ void test_division_1(void) TEST_ASSERT_EQUAL_INT(expected, result); } +void test_division_2(void) +{ + double result, expected = 5.0; + + result = divisionDouble(10.0,2.0); + + TEST_ASSERT_EQUAL_INT(expected, result); +} #endif // TEST \ No newline at end of file