- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testAsList_subList_toArray_roundTrip (0.15 seconds)
-
guava-tests/test/com/google/common/primitives/LongsTest.java
newArray[1] = 5L; assertThat((long) list.get(1)).isEqualTo(1L); } // This test stems from a real bug found by andrewk public void testAsList_subList_toArray_roundTrip() { long[] array = {0L, 1L, 2L, 3L}; List<Long> list = Longs.asList(array); assertThat(Longs.toArray(list.subList(1, 3))).isEqualTo(new long[] {1L, 2L});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.8K bytes - Click Count (0)