- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for testPartition_empty (0.27 sec)
-
android/guava-tests/test/com/google/common/collect/ListsTest.java
} public void testPartition_badSize() { List<Integer> source = singletonList(1); assertThrows(IllegalArgumentException.class, () -> partition(source, 0)); } public void testPartition_empty() { List<Integer> source = emptyList(); List<List<Integer>> partitions = partition(source, 1); assertTrue(partitions.isEmpty()); assertEquals(0, partitions.size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
} public void testPartition_badSize() { List<Integer> source = singletonList(1); assertThrows(IllegalArgumentException.class, () -> partition(source, 0)); } public void testPartition_empty() { List<Integer> source = emptyList(); List<List<Integer>> partitions = partition(source, 1); assertTrue(partitions.isEmpty()); assertEquals(0, partitions.size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testPartition_badSize() { Iterable<Integer> source = singleton(1); assertThrows(IllegalArgumentException.class, () -> Iterables.partition(source, 0)); } public void testPartition_empty() { Iterable<Integer> source = emptySet(); Iterable<List<Integer>> partitions = Iterables.partition(source, 1); assertTrue(Iterables.isEmpty(partitions)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testPartition_badSize() { Iterator<Integer> source = singletonIterator(1); assertThrows(IllegalArgumentException.class, () -> Iterators.partition(source, 0)); } public void testPartition_empty() { Iterator<Integer> source = emptyIterator(); Iterator<List<Integer>> partitions = Iterators.partition(source, 1); assertFalse(partitions.hasNext()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testPartition_badSize() { Iterator<Integer> source = singletonIterator(1); assertThrows(IllegalArgumentException.class, () -> Iterators.partition(source, 0)); } public void testPartition_empty() { Iterator<Integer> source = emptyIterator(); Iterator<List<Integer>> partitions = Iterators.partition(source, 1); assertFalse(partitions.hasNext()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0)