示例#1
0
def test_compressed():
    uncompressed = ['L', 'L', 'B', 'Bi', 'Li', 'Ui', 'U', 'R']
    expected = ['L', 'R']

    assert compressed(uncompressed) == expected
示例#2
0
def test_compressed3():
    uncompressed = ['Ri', 'Ri']
    expected = ['Ri', 'Ri']

    assert compressed(uncompressed) == expected