mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add test
This commit is contained in:
@@ -39,6 +39,9 @@ public class HexUtilTest {
|
||||
|
||||
@Test
|
||||
public void isHexNumberTest() {
|
||||
Assert.assertTrue(HexUtil.isHexNumber("0"));
|
||||
Assert.assertTrue(HexUtil.isHexNumber("002c"));
|
||||
|
||||
String a = "0x3544534F444";
|
||||
Assert.assertTrue(HexUtil.isHexNumber(a));
|
||||
|
||||
|
Reference in New Issue
Block a user