|
|
@ -20,4 +20,10 @@ void test_trigonometricFunctions_trigonometricFunctionsofcos(void) { |
|
|
|
double *result; |
|
|
|
result = calculate_cos_double(45); |
|
|
|
TEST_ASSERT_DOUBLE_WITHIN(0.1, expectedResult, *result); |
|
|
|
} |
|
|
|
void test_trigonometricFunctions_trigonometricFunctionsoftan(void) { |
|
|
|
double expectedResult = 1.61977519 ; |
|
|
|
double *result; |
|
|
|
result = calculate_tan_double(45); |
|
|
|
TEST_ASSERT_DOUBLE_WITHIN(0.1, expectedResult, *result); |
|
|
|
} |