- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for submit (0.14 sec)
-
guava-tests/test/com/google/common/primitives/BytesTest.java
} // This test stems from a real bug found by andrewk public void testAsList_subList_toArray_roundTrip() { byte[] array = {(byte) 0, (byte) 1, (byte) 2, (byte) 3}; List<Byte> list = Bytes.asList(array); assertThat(Bytes.toArray(list.subList(1, 3))).isEqualTo(new byte[] {(byte) 1, (byte) 2}); assertThat(Bytes.toArray(list.subList(2, 2))).isEqualTo(new byte[] {}); } public void testAsListEmpty() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 16.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
} // This test stems from a real bug found by andrewk public void testAsList_subList_toArray_roundTrip() { byte[] array = {(byte) 0, (byte) 1, (byte) 2, (byte) 3}; List<Byte> list = Bytes.asList(array); assertThat(Bytes.toArray(list.subList(1, 3))).isEqualTo(new byte[] {(byte) 1, (byte) 2}); assertThat(Bytes.toArray(list.subList(2, 2))).isEqualTo(new byte[] {}); } public void testAsListEmpty() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 16.4K bytes - Viewed (0)