You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
262 B

#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));
}