def test_tone_to_normal_with_v_to_u(pinyin, v_to_u, result): assert tone_to_normal(pinyin, v_to_u=v_to_u) == result assert to_normal(pinyin, v_to_u=v_to_u) == result
def test_tone_to_normal(pinyin, result): assert tone_to_normal(pinyin) == result assert to_normal(pinyin) == result assert to_normal(result) == result