|
@ -53,10 +53,6 @@ void test_naturalLogarithm(void) { |
|
|
TEST_ASSERT_FLOAT_WITHIN(0.000001, 4.60517, result); |
|
|
TEST_ASSERT_FLOAT_WITHIN(0.000001, 4.60517, result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void test_power(void) { |
|
|
|
|
|
float result = power(2.0, 3.0); |
|
|
|
|
|
TEST_ASSERT_FLOAT_WITHIN(0.000001, 8.0, result); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_factorial(void) { |
|
|
void test_factorial(void) { |
|
|
int result = factorial(5); |
|
|
int result = factorial(5); |
|
|