mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
add test
This commit is contained in:
parent
7d4fabd201
commit
64d49ff87b
@ -40,6 +40,9 @@ public class HexUtilTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void isHexNumberTest() {
|
public void isHexNumberTest() {
|
||||||
|
Assertions.assertTrue(HexUtil.isHexNumber("0"));
|
||||||
|
Assertions.assertTrue(HexUtil.isHexNumber("002c"));
|
||||||
|
|
||||||
String a = "0x3544534F444";
|
String a = "0x3544534F444";
|
||||||
Assertions.assertTrue(HexUtil.isHexNumber(a));
|
Assertions.assertTrue(HexUtil.isHexNumber(a));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user