Browse Source

test_bitshift_druch_0 bei bitshift funktion

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

9
test/test_division.c

@ -31,6 +31,15 @@ void test_division_2(void)
TEST_ASSERT_EQUAL_DOUBLE(expected, result);
}
void test_bitshiftdruch0(void)
{
int result, expected = 16;
result = divisionByTwo(16,0);
TEST_ASSERT_EQUAL_INT(expected, result);
}
void test_division_3(void)
{
int result, expected = 4;

Loading…
Cancel
Save