- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 153 for inOrder (5.13 sec)
-
android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java
top.offer(2); assertThat(top.topK()).containsExactly(2, 3, 5).inOrder(); } public void testOfferedKPlusOne() { for (List<Integer> list : Collections2.permutations(Ints.asList(1, 2, 3, 4, 5))) { TopKSelector<Integer> top = TopKSelector.least(4); top.offerAll(list); assertThat(top.topK()).containsExactly(1, 2, 3, 4).inOrder(); } } public void testOfferedThreeK() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
EndpointPair.unordered(4, 5)) .inOrder(); } @Test public void stableIncidentEdgeOrder_adjacentNodes_returnsInConnectingEdgeInsertionOrder() { assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE); populateTShapedGraph(); assertThat(graph.adjacentNodes(1)).containsExactly(2, 4, 3).inOrder(); } @Test
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java
assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder(); ms.remove("b"); assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder(); ms.add("b"); assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder(); ms.remove("b", 2); ms.add("b"); assertThat(ms.elementSet()).containsExactly("a", "c", "b").inOrder(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypesTest.java
assertThat(actual.getLowerBounds()) .asList() .containsExactlyElementsIn(asList(expected.getLowerBounds())) .inOrder(); assertThat(actual.getUpperBounds()) .asList() .containsExactlyElementsIn(asList(expected.getUpperBounds())) .inOrder(); } private static class WithTypeVariable { @SuppressWarnings("unused") <T> void withoutBound(List<T> list) {}
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 14.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java
EndpointPair.ordered(5, 1)) .inOrder(); } @Test public void stableIncidentEdgeOrder_adjacentNodes_returnsInConnectingEdgeInsertionOrder() { assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE); populateStarShapedGraph(); assertThat(graph.adjacentNodes(1)).containsExactly(2, 4, 3, 5).inOrder(); } @Test
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
new Iterable<Integer>() { @Override public Iterator<Integer> iterator() { return newDoubler(2, 32); } }; assertThat(doubled).containsExactly(2, 4, 8, 16, 32).inOrder(); } public void testSampleCode() { Iterable<Integer> actual = new Iterable<Integer>() { @Override public Iterator<Integer> iterator() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 17:19:08 GMT 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
.containsExactly(4, 3, 2, 1) .inOrder(); } public void testToSortedSet_removeDuplicates() { assertThat(fluent(1, 4, 1, 3).toSortedSet(Ordering.<Integer>natural().reverse())) .containsExactly(4, 3, 1) .inOrder(); } public void testToMultiset() { assertThat(fluent(1, 2, 1, 3, 2, 4).toMultiset()).containsExactly(1, 1, 2, 2, 3, 4).inOrder(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 18:35:19 GMT 2024 - 31.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
.inOrder(); assertThat(map.tailMap("onea").entrySet()) .containsExactly(mapEntry("three", 5), mapEntry("two", 3)) .inOrder(); assertThat(map.subMap("one", "two").entrySet()) .containsExactly(mapEntry("one", 3), mapEntry("three", 5)) .inOrder(); } public void testAsMapSortedReadsThrough() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 67.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
.inOrder(); assertThat(map.tailMap("onea").entrySet()) .containsExactly(mapEntry("three", 5), mapEntry("two", 3)) .inOrder(); assertThat(map.subMap("one", "two").entrySet()) .containsExactly(mapEntry("one", 3), mapEntry("three", 5)) .inOrder(); } public void testAsMapSortedReadsThrough() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 64.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
new Iterable<Integer>() { @Override public Iterator<Integer> iterator() { return newDoubler(2, 32); } }; assertThat(doubled).containsExactly(2, 4, 8, 16, 32).inOrder(); } public void testSampleCode() { Iterable<Integer> actual = new Iterable<Integer>() { @Override public Iterator<Integer> iterator() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 17:19:08 GMT 2024 - 4.7K bytes - Viewed (0)