public void GetNameByPinyin5() { var hanzi = Pinyin4Name.GetHanzi("fe", false); assertArrayAreEquals(new[] { "费", "丰", "封", "酆", "冯", "凤" }, hanzi); }
public void GetNameByPinyin4() { var hanzi = Pinyin4Name.GetHanzi("f", false); assertArrayAreEquals(new[] { "樊", "范", "方", "房", "费", "丰", "封", "酆", "冯", "凤", "伏", "扶", "福", "符", "傅", "富" }, hanzi); }
public void GetNameByPinyin2() { var hanzi = Pinyin4Name.GetHanzi("chan yu", true); assertArrayAreEquals(new[] { "单于" }, hanzi); }
public void GetNameByPinyin3() { var hanzi = Pinyin4Name.GetHanzi("ou", false); assertArrayAreEquals(new[] { "欧阳", "欧" }, hanzi); }
public void GetNameByPinyin1() { var hanzi = Pinyin4Name.GetHanzi("li", true); assertArrayAreEquals(new[] { "黎", "李", "利", "厉", "郦" }, hanzi); }