Beispiel #1
0
def test_num_let_words():
    assert num_let_word(["asdfcx", "qqq", "z"]) == [6, 3,
                                                    1], "should be [6, 3, 1]"
Beispiel #2
0
def test_num_let_tuple():
    assert num_let_word(
        ("1asad", "sasadsadasd", "sadsadsda")) == [5, 11,
                                                   9], "should be [5, 11, 9]"
Beispiel #3
0
def test_num_let_word():
    assert num_let_word(["aaa", "11", "b"]) == [3, 2, 1], "should be [3, 2, 1]"
Beispiel #4
0
def test_num_let_list():
    assert num_let_word([["asdfcx", "aassd"], ["qqq"],
                         ["z"]]) == [2, 1, 1], "should be [2, 1, 1]"