Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAddOccurrencesZero (0.07 sec)

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

        assertTrue(getMultiset().add(e0()));
        assertEquals(originalCount + 1, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddOccurrencesZero() {
        int originalCount = getMultiset().count(e0());
        assertEquals("old count", originalCount, getMultiset().add(e0(), 0));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top