コード例 #1
0
ファイル: syllables_test.py プロジェクト: kyroskoh/haikupy
def test_correct_count_all():
    assert syllables.count('comically', all=True) == set([3, 4])
コード例 #2
0
ファイル: syllables_test.py プロジェクト: kyroskoh/haikupy
def test_correct_count():
    assert syllables.count('good') == 1
    assert syllables.count('comically') == 4