Example #1
0
def test_remv_string():
    actual = removeShiftArray([1, 2, "hello", 4])
    expected = [1, 2, 4]
    assert actual == expected
Example #2
0
def test_remv_odd():
    actual = removeShiftArray([10, 20, 30])
    expected = [10, 30]
    assert actual == expected
Example #3
0
def test_remv_one():
    actual = removeShiftArray([2])
    expected = []
    assert actual == expected
Example #4
0
def test_remv_even():
    actual = removeShiftArray([2, 1, 6, 7])
    expected = [2, 1, 7]
    assert actual == expected
Example #5
0
def test_remv_empty():
    actual = removeShiftArray([])
    expected = []
    assert actual == expected