#include "../src/arithmeticMultiplication_Int.h" #include "unity.h" #include "limits.h" void setUp(void) { // set stuff up here } void tearDown(void) { // clean stuff up here } void test_arithmeticMultiplication_numbertimesnumberequalsnumber(void) { int expectedResult = 10; int* result; result = multiplication_integer(2,5); TEST_ASSERT_EQUAL_INT(expectedResult, *result);}
#include "../src/arithmeticMultiplication_Int.h"
#include "unity.h"
#include "limits.h"
void setUp(void) {
// set stuff up here
}
void tearDown(void) {
// clean stuff up here
void test_arithmeticMultiplication_numbertimesnumberequalsnumber(void) {
int expectedResult = 10;
int* result;
result = multiplication_integer(2,5);
TEST_ASSERT_EQUAL_INT(expectedResult, *result);