mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add test
This commit is contained in:
parent
b0d528e27b
commit
4fa9fb8606
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user