add methods

This commit is contained in:
Looly
2020-03-13 17:07:30 +08:00
parent a508f2d5aa
commit c38e6f0c1a
7 changed files with 111 additions and 15 deletions

View File

@@ -20,4 +20,10 @@ public class CharUtilTest {
Assert.assertTrue(CharUtil.isEmoji(a.charAt(1)));
}
@Test
public void isCharTest(){
char[] a = new char[]{'a'};
Assert.assertTrue(CharUtil.isChar(a));
}
}