Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testEquals_list (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

        Collection<Entry<K, V>> moreEntries = getSampleEntries(getNumEntries() + 1);
        assertFalse(
            "Maps of different sizes should not be equal.", getMap().equals(newHashMap(moreEntries)));
      }
    
      public void testEquals_list() {
        assertFalse(
            "A List should never equal a Map.", getMap().equals(copyToList(getMap().entrySet())));
      }
    
      private static <K, V> Map<K, V> newHashMap(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

        assertFalse(
            "Sets of different sizes should not be equal.",
            getSet().equals(MinimalSet.from(moreElements)));
      }
    
      public void testEquals_list() {
        assertFalse("A List should never equal a Set.", getSet().equals(copyToList(getSet())));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

        assertFalse(
            "Sets of different sizes should not be equal.",
            getSet().equals(MinimalSet.from(moreElements)));
      }
    
      public void testEquals_list() {
        assertFalse("A List should never equal a Set.", getSet().equals(copyToList(getSet())));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top