#include "../src/arithmeticDivision.h" #include "unity.h" #include "limits.h" void setUp(void) { // set stuff up here } void tearDown(void) { // clean stuff up here } void test_arithmeticDivision_numberdividedbynumberequalsnumber(void) { int expectedResult = 2; int* result; result = division_integer(14, 7); TEST_ASSERT_EQUAL_INT(expectedResult, *result);}
#include "../src/arithmeticDivision.h"
#include "unity.h"
#include "limits.h"
void setUp(void) {
// set stuff up here
}
void tearDown(void) {
// clean stuff up here
void test_arithmeticDivision_numberdividedbynumberequalsnumber(void) {
int expectedResult = 2;
int* result;
result = division_integer(14, 7);
TEST_ASSERT_EQUAL_INT(expectedResult, *result);