|
|
@ -15,4 +15,10 @@ void test_arithmeticSubtraction_subractionoftwonumbers(void) { |
|
|
|
result = subtraction_integer(14, 7); |
|
|
|
TEST_ASSERT_EQUAL_INT(expectedResult, *result); |
|
|
|
} |
|
|
|
void test_arithmeticSubtraction_subractionoftwonumberswithfloat(void) { |
|
|
|
float expectedResult = 7; |
|
|
|
float* result; |
|
|
|
result = subtraction_float(14, 7); |
|
|
|
TEST_ASSERT_EQUAL_FLOAT(expectedResult, *result); |
|
|
|
} |
|
|
|
|