def test_array_2(): expected = [4, 8, 15, 16, 23, 42] actual = insertShiftArray([4, 8, 15, 23, 42], 16) assert actual == expected
def test_insertShiftArray2(): actual = insertShiftArray([3,2,1,0,4,58,55,10], 7) expected = [0, 1, 2, 3, 4, 7, 10, 55, 58] assert actual == expected
def test_array_1(): expected = [2, 4, 5, 6, 8] actual = insertShiftArray([2, 4, 6, 8], 5) assert actual == expected
def test_insertShiftArray(): actual = insertShiftArray([2,4,6,2,0,77,88,99,14,10,112,8], -555) expected = [-555, 0, 2, 2, 4, 6, 8, 10, 14, 77, 88, 99, 112] assert actual == expected
def test_insertShiftArray_odd(): actual = insertShiftArray([1, 2, 3, 5, 6], 4) expected = [1, 2, 3, 4, 5, 6] assert actual == expected
def test_insertShiftArray_even(): actual = insertShiftArray([1, 2, 4, 5], 3) expected = [1, 2, 3, 4, 5] assert actual == expected
def test_insert_number_in_even(): actual = insertShiftArray([3, 4, 5, 6, 7, 8], 100) expected = [3, 4, 5, 100, 6, 7, 8] assert actual == expected
def test_insert_number_in_odd(): actual = insertShiftArray([3, 4, 5, 6, 7], 200) expected = [3, 4, 5, 200, 6, 7] assert actual == expected