示例#1
0
def test_split_word_and_tone_none():
    eq(('zi', None), pinyin.split_word_and_tone('zi'))
示例#2
0
def test_split_word_and_tone_arabic_number():
    eq(('2048', None), pinyin.split_word_and_tone('2048'))
示例#3
0
def test_split_word_and_tone():
    eq(('ai', 4), pinyin.split_word_and_tone('ai4'))