- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testPartition_badSize (0.16 seconds)
-
guava-tests/test/com/google/common/collect/IterablesTest.java
int n = 4; Iterable<Integer> repeated = Iterables.concat(nCopies(n, iterable)); assertThat(repeated).containsExactly(1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3).inOrder(); } public void testPartition_badSize() { Iterable<Integer> source = singleton(1); assertThrows(IllegalArgumentException.class, () -> Iterables.partition(source, 0)); } public void testPartition_empty() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
a = emptySet(); b = asList(4, 8, 15, 16, 23, 42); assertFalse(elementsEqual(a.iterator(), b.iterator())); assertFalse(elementsEqual(b.iterator(), a.iterator())); } public void testPartition_badSize() { Iterator<Integer> source = singletonIterator(1); assertThrows(IllegalArgumentException.class, () -> Iterators.partition(source, 0)); } public void testPartition_empty() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
a = emptySet(); b = asList(4, 8, 15, 16, 23, 42); assertFalse(elementsEqual(a.iterator(), b.iterator())); assertFalse(elementsEqual(b.iterator(), a.iterator())); } public void testPartition_badSize() { Iterator<Integer> source = singletonIterator(1); assertThrows(IllegalArgumentException.class, () -> Iterators.partition(source, 0)); } public void testPartition_empty() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0)