- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testCopyOf_emptyArray (0.13 sec)
-
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
public void testCreation_eightElements() { Set<String> set = of("a", "b", "c", "d", "e", "f", "g", "h"); assertEquals(newHashSet("a", "b", "c", "d", "e", "f", "g", "h"), set); } public void testCopyOf_emptyArray() { String[] array = new String[0]; Set<String> set = copyOf(array); assertEquals(Collections.<String>emptySet(), set); assertSame(this.<String>of(), set); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
String[] array = new String[] {"a"}; List<String[]> list = ImmutableList.<String[]>of(array); assertEquals(singletonList(array), list); } public void testCopyOf_emptyArray() { String[] array = new String[0]; List<String> list = ImmutableList.copyOf(array); assertEquals(emptyList(), list); } public void testCopyOf_arrayOfOneElement() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
String[] array = new String[] {"a"}; List<String[]> list = ImmutableList.<String[]>of(array); assertEquals(singletonList(array), list); } public void testCopyOf_emptyArray() { String[] array = new String[0]; List<String> list = ImmutableList.copyOf(array); assertEquals(emptyList(), list); } public void testCopyOf_arrayOfOneElement() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0)