Browse Source

Fixing a problem

remotes/origin/siamak
Abdelrahman 11 months ago
parent
commit
b053fa8873
  1. 10
      src/test/test_funktionen.c

10
src/test/test_funktionen.c

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

Loading…
Cancel
Save