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.
11 lines
246 B
11 lines
246 B
#include "unity.h"
|
|
#include "subtraction.h"
|
|
void setUp(){}
|
|
|
|
void tearDown(){}
|
|
|
|
void test_subtraction() {
|
|
TEST_ASSERT_EQUAL_INT(1, subtract(3, 2));
|
|
TEST_ASSERT_EQUAL_INT(5, subtract(2, -3));
|
|
TEST_ASSERT_EQUAL_INT(0, subtract(0, 0));
|
|
}
|