mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add method
This commit is contained in:
@@ -53,4 +53,10 @@ public class RandomUtilTest {
|
||||
final byte[] c = RandomUtil.randomBytes(10);
|
||||
Assert.assertNotNull(c);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void randomChineseTest(){
|
||||
char c = RandomUtil.randomChinese();
|
||||
Assert.assertTrue(c > 0);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user