diff --git a/test/test_division.c b/test/test_division.c index 52b1036..4ecb4dc 100644 --- a/test/test_division.c +++ b/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;