@ -576,6 +576,85 @@ void test_compare_aGreaterThanB(void)
/* assert */
TEST_ASSERT_EQUAL_INT(1, result);
}
void test_exponentiation(void)
{
/* arrange */
int base = 2;
int exponent = 3;
/* act */
int result = exponentiation(base, exponent);
TEST_ASSERT_EQUAL_INT(8, result);