Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAddAll_int (0.05 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(a[0], is("1"));
            assertThat(a[1], is("2"));
            assertThat(a[2], is("3"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAddAll_int() throws Exception {
            final int[] array = new int[] { 111 };
            final int[] newArray = ArrayUtil.add(array, 222);
            assertThat(newArray.length, is(2));
            assertThat(newArray[0], is(111));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top