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

  1. #include "unity.h"
  2. #include "multiplication.h"
  3. void setUp(void){}
  4. void tearDown(void){}
  5. void test_multiplication() {
  6. TEST_ASSERT_EQUAL_INT(6, multiply(2, 3));
  7. TEST_ASSERT_EQUAL_INT(-6, multiply(2, -3));
  8. TEST_ASSERT_EQUAL_INT(0, multiply(0, 0));
  9. }