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
9ff2d650bb
commit
688eefc02b
@ -42,6 +42,11 @@ public class ArrayUtilTest {
|
|||||||
isEmpty = ArrayUtil.isEmpty(d);
|
isEmpty = ArrayUtil.isEmpty(d);
|
||||||
//noinspection ConstantConditions
|
//noinspection ConstantConditions
|
||||||
Assert.assertTrue(isEmpty);
|
Assert.assertTrue(isEmpty);
|
||||||
|
|
||||||
|
// Object数组
|
||||||
|
Object[] e = new Object[]{"1", "2", 3, 4D};
|
||||||
|
final boolean empty = ArrayUtil.isEmpty(e);
|
||||||
|
Assert.assertFalse(empty);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user