#include "../src/arithmeticSubtraction.h" #include "unity.h" #include "limits.h" void setUp(void) { // set stuff up here } void tearDown(void) { // clean stuff up here } void test_arithmeticSubtraction_subractionoftwonumbers(void) { int expectedResult = 7; int* result; 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); } void test_arithmeticSubtraction_subractionoftwonumberswithdouble(void) { double expectedResult = 7; double* result; result = subtraction_double(14, 7); TEST_ASSERT_EQUAL_DOUBLE (expectedResult, *result); }