|
|
@ -12,11 +12,6 @@ void tearDown(void) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_1000_plus_1(void) |
|
|
|
{ |
|
|
|
/* arrange */ |
|
|
|
int actual; |
|
|
|
int expected = 1000; |
|
|
|
|
|
|
|
void test_square(void) { |
|
|
|
float result = square(2.5); |
|
|
@ -95,6 +90,11 @@ void test_remainderValue(void) { |
|
|
|
TEST_ASSERT_FLOAT_WITHIN(0.000001, 1.5, result); |
|
|
|
} |
|
|
|
|
|
|
|
void test_1000_plus_1(void) |
|
|
|
{ |
|
|
|
/* arrange */ |
|
|
|
int actual; |
|
|
|
int expected = 1000; |
|
|
|
|
|
|
|
/* act */ |
|
|
|
actual = addThreeNumbers(500, 249, 251); |
|
|
|