Example #1
0
def test_remove_adjacent_3():
    n = [1, 4, 9, 9, 2, 4]
    assert utils.remove_adjacent(n) == [1, 4, 9, 2, 4]
Example #2
0
def test_remove_adjacent_2():
    n = [0, 1, 1, 2, 3]
    assert utils.remove_adjacent(n) == [0, 1, 2, 3]