@ -1,7 +1,7 @@
#ifndef multiplication_H
#define multiplication_H
int multiplication(int a, int b);
int multiply(int a, int b);
#endif
@ -1 +0,0 @@
@ -0,0 +1,12 @@
#include "unity.h"
#include "multiplication.h"
void setUp(void){}
void tearDown(void){}
void test_multiplication() {
TEST_ASSERT_EQUAL_INT(6, multiply(2, 3));
TEST_ASSERT_EQUAL_INT(-6, multiply(2, -3));
TEST_ASSERT_EQUAL_INT(0, multiply(0, 0));
}