@ -512,7 +512,18 @@ void test_division(void)
TEST_ASSERT_EQUAL_INT(5, result);
}
void test_division_byZero_returnsZero(void)
{
/* arrange */
int num1 = 8;
int num2 = 0;
/* act */
int result = division(num1, num2);
/* assert */
TEST_ASSERT_EQUAL_INT(0, result);