public void FirstOfMultiPinyinName() { var pinyin = Pinyin4Name.GetFirstLetter("单于"); Assert.AreEqual("c y", pinyin); }
public void NonExistsName() { var pinyin = Pinyin4Name.GetFirstLetter("佳"); Assert.IsNull(pinyin); }
public void FirstLetterOfName() { var pinyin = Pinyin4Name.GetFirstLetter("李"); Assert.AreEqual("l", pinyin); }