Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 94 for inOrder (0.06 sec)

  1. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        assertThat(multimap.get("foo")).containsExactly(1, 3, 7).inOrder();
        assertThat(multimap.get("google")).containsExactly(2, 6).inOrder();
        assertThat(multimap.get("tree")).containsExactly(0, 4).inOrder();
      }
    
      public void testOrderedKeySet() {
        TreeMultimap<String, Integer> multimap = createPopulate();
        assertThat(multimap.keySet()).containsExactly("foo", "google", "tree").inOrder();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        // forward map ordered by currency (even for country values)
        assertThat(bimap.values()).containsExactly(Country.SWITZERLAND, Country.CHILE).inOrder();
        // backward map ordered by country
        assertThat(bimap.inverse().keySet())
            .containsExactly(Country.CHILE, Country.SWITZERLAND)
            .inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace
      private void doTestLazyStackTraceFallback() {
        assertFalse(lazyStackTraceIsLazy());
    
        Exception e = new Exception();
    
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) e.getStackTrace()).inOrder();
    
        try {
          lazyStackTrace(e).set(0, null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. 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();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. 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();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. android/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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

      public void testOf2() {
        assertThat(ImmutableIntArray.of(0, 1).asList()).containsExactly(0, 1).inOrder();
      }
    
      public void testOf3() {
        assertThat(ImmutableIntArray.of(0, 1, 3).asList()).containsExactly(0, 1, 3).inOrder();
      }
    
      public void testOf4() {
        assertThat(ImmutableIntArray.of(0, 1, 3, 6).asList()).containsExactly(0, 1, 3, 6).inOrder();
      }
    
      public void testOf5() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
        assertThat(ImmutableDoubleArray.of(0, 1, 3).asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testOf4() {
        assertThat(ImmutableDoubleArray.of(0, 1, 3, 6).asList())
            .containsExactly(0.0, 1.0, 3.0, 6.0)
            .inOrder();
      }
    
      public void testOf5() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetsTest.java

        assertThat(cartesianProduct(set(1), set(2, 3)))
            .containsExactly(list(1, 2), list(1, 3))
            .inOrder();
      }
    
      public void testCartesianProduct_binary2x2() {
        assertThat(cartesianProduct(set(1, 2), set(3, 4)))
            .containsExactly(list(1, 3), list(1, 4), list(2, 3), list(2, 4))
            .inOrder();
      }
    
      public void testCartesianProduct_2x2x2() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top