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