|
|
@ -21,4 +21,11 @@ void test_arithmeticSubtraction_subractionoftwonumberswithfloat(void) { |
|
|
|
result = subtraction_float(14, 7); |
|
|
|
TEST_ASSERT_EQUAL_FLOAT(expectedResult, *result); |
|
|
|
} |
|
|
|
void test_arithmeticSubtraction_subractionoftwonumberswithdouble(void) { |
|
|
|
double expectedResult = 7; |
|
|
|
double* result; |
|
|
|
result = subtraction_double(14, 7); |
|
|
|
TEST_ASSERT_EQUAL_DOUBLE (expectedResult, *result); |
|
|
|
} |
|
|
|
|
|
|
|
|