Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assertEmpty (0.05 sec)

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

        Set<Integer> mt = emptySet();
        assertEmpty(cartesianProduct(mt, mt));
      }
    
      public void testCartesianProduct_binary0x1() {
        Set<Integer> mt = emptySet();
        assertEmpty(cartesianProduct(mt, set(1)));
      }
    
      public void testCartesianProduct_binary1x0() {
        Set<Integer> mt = emptySet();
        assertEmpty(cartesianProduct(set(1), mt));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            ? ((Collection<?>) iterable).isEmpty()
            : !iterable.iterator().hasNext();
      }
    
      public static void assertEmpty(Iterable<?> iterable) {
        if (!isEmpty(iterable)) {
          fail("Not true that " + iterable + " is empty");
        }
      }
    
      public static void assertEmpty(Map<?, ?> map) {
        if (!map.isEmpty()) {
          fail("Not true that " + map + " is empty");
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/Helpers.java

            ? ((Collection<?>) iterable).isEmpty()
            : !iterable.iterator().hasNext();
      }
    
      public static void assertEmpty(Iterable<?> iterable) {
        if (!isEmpty(iterable)) {
          fail("Not true that " + iterable + " is empty");
        }
      }
    
      public static void assertEmpty(Map<?, ?> map) {
        if (!map.isEmpty()) {
          fail("Not true that " + map + " is empty");
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top