public void ConvertTest() { Assert.Equal("TianDiXuanHuang YuZhouHongHuang", PinyinUtil.GetFullChars("������� ������")); Assert.Equal("RZC XBS XXJ XXY", PinyinUtil.GetFirstChars("��֮�� �Ա��� ����� ϰ��Զ")); }
public void ConvertTest() { Assert.Equal("TianDiXuanHuang YuZhouHongHuang", PinyinUtil.GetFullChars("天地玄黄 宇宙洪荒")); Assert.Equal("RZC XBS XXJ XXY", PinyinUtil.GetFirstChars("人之初 性本善 性相近 习相远")); }