- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testAddAll (0.1 sec)
-
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
assertArrayEquals(new Integer[] { 1, 2 }, ArrayUtil.asArray(1, 2)); } /** * @throws Exception */ @Test public void testAddAll() throws Exception { final String[] array = new String[] { "111" }; final String[] newArray = ArrayUtil.add(array, "222"); assertThat(newArray.length, is(2)); assertThat(newArray[0], is("111"));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeRangeSetTest.java
assertEquals(Range.closed(7, 10), rangeSet.rangeContaining(8)); assertTrue(rangeSet.contains(8)); assertNull(rangeSet.rangeContaining(6)); assertFalse(rangeSet.contains(6)); } public void testAddAll() { RangeSet<Integer> rangeSet = TreeRangeSet.create(); rangeSet.add(Range.closed(3, 10)); rangeSet.addAll(Arrays.asList(Range.open(1, 3), Range.closed(5, 8), Range.closed(9, 11)));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 16 19:54:45 UTC 2020 - 24.3K bytes - Viewed (0)