コード例 #1
0
def test_apply_exception_rules_consonan_w_vowel():
    word = "kiwi"
    output = "ki-wi"
    assert apply_exception_rules(word) == output
コード例 #2
0
def test_apply_exception_rules_consonan_group():
    word = "aislable"
    output = "ais-lable"
    assert apply_exception_rules(word) == output
コード例 #3
0
def test_apply_exception_rules_consonan_group_ll():
    word = "alhábega"
    output = "al-hábega"
    assert apply_exception_rules(word) == output
コード例 #4
0
def test_apply_exception_rules_consonan_group_dl():
    word = "adlativo"
    output = "ad-lativo"
    assert apply_exception_rules(word) == output
コード例 #5
0
def test_apply_exception_rules_sin():
    word = "sinhueso"
    output = "sin-hueso"
    assert apply_exception_rules(word) == output
コード例 #6
0
def test_apply_exception_rules_des():
    word = "destituir"
    output = "des-tituir"
    assert apply_exception_rules(word) == output