mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add test
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user