Browse Source

test_divsion_2. von dem Fall 10 / 2 = 5

master
Justin Trausch 11 months ago
parent
commit
e9468bd84a
  1. 8
      test/test_division.c

8
test/test_division.c

@ -22,5 +22,13 @@ void test_division_1(void)
TEST_ASSERT_EQUAL_INT(expected, result);
}
void test_division_2(void)
{
double result, expected = 5.0;
result = divisionDouble(10.0,2.0);
TEST_ASSERT_EQUAL_INT(expected, result);
}
#endif // TEST
Loading…
Cancel
Save