Example #1
0
  @Test
  public void testgetAll() {
    LogUtil.show(PinyinUtil.getAllPingYin(test));

    LogUtil.show(PinyinUtil.getPinyin(test));

    LogUtil.show(PinyinUtil.getPinyin(test, " "));
  }
Example #2
0
 //	@Test
 //	public void testPinying(){
 //		String result=PinyinUtil.getPingYin(test);
 //		System.out.println(result);
 //	}
 //
 @Test
 public void testPinyingHead() {
   String result = PinyinUtil.getPinYinHeadChar(test);
   System.out.println(result);
 }