This commit is contained in:
Looly 2020-05-25 11:39:40 +08:00
parent 9ff2d650bb
commit 688eefc02b

View File

@ -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