Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testElementsEqual (0.11 sec)

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

        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Iterables.class);
      }
    
      // More exhaustive tests are in IteratorsTest.
      public void testElementsEqual() throws Exception {
        Iterable<?> a;
        Iterable<?> b;
    
        // A few elements.
        a = asList(4, 8, 15, 16, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertTrue(elementsEqual(a, b));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

        // Note: Ints.asList's iterator does not support remove which we need for testing.
        return new ArrayList<>(Ints.asList(values)).iterator();
      }
    
      public void testElementsEqual() {
        Iterable<?> a;
        Iterable<?> b;
    
        // Base case.
        a = Lists.newArrayList();
        b = emptySet();
        assertTrue(elementsEqual(a.iterator(), b.iterator()));
    
        // A few elements.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        // Note: Ints.asList's iterator does not support remove which we need for testing.
        return new ArrayList<>(Ints.asList(values)).iterator();
      }
    
      public void testElementsEqual() {
        Iterable<?> a;
        Iterable<?> b;
    
        // Base case.
        a = Lists.newArrayList();
        b = emptySet();
        assertTrue(elementsEqual(a.iterator(), b.iterator()));
    
        // A few elements.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
Back to top