@ -615,7 +615,17 @@ void test_squareRoot_validNumber(void)
TEST_ASSERT_EQUAL_INT(5, result);
}
void test_squareRoot_negativeNumber(void)
{
/* arrange */
int number = -5;
/* act */
int result = squareRoot(number);
/* assert */
TEST_ASSERT_EQUAL_INT(0, result);