Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for initThreeCopies (0.07 sec)

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

        assertEquals(expectedSize, getMultiset().size());
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testElementSetRemoveDuplicatePropagatesToMultiset() {
        initThreeCopies();
        int size = getNumElements();
        int expectedSize = size - getMultiset().count(e0());
        Set<E> elementSet = getMultiset().elementSet();
        assertTrue(elementSet.remove(e0()));
        assertEmpty(getMultiset());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

      public void testCount_1() {
        assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCount_3() {
        initThreeCopies();
        assertEquals("multiset.count(thriceContained) didn't return 3", 3, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testCount_nullAbsent() {
    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/google/MultisetElementSetTester.java

        assertEquals(expectedSize, getMultiset().size());
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testElementSetRemoveDuplicatePropagatesToMultiset() {
        initThreeCopies();
        int size = getNumElements();
        int expectedSize = size - getMultiset().count(e0());
        Set<E> elementSet = getMultiset().elementSet();
        assertTrue(elementSet.remove(e0()));
        assertEmpty(getMultiset());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top