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

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

    assert compressed(uncompressed) == expected