Browse Source

test_divsion_3. bitshift von 16 und 2

master
Justin Trausch 11 months ago
parent
commit
a6e9756d27
  1. 9
      test/test_division.c

9
test/test_division.c

@ -31,4 +31,13 @@ void test_division_2(void)
TEST_ASSERT_EQUAL_INT(expected, result);
}
void test_division_3(void)
{
int result, expected = 4;
result = divisionByTwo(16,2);
TEST_ASSERT_EQUAL_INT(expected, result);
}
#endif // TEST
Loading…
Cancel
Save