Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

      public void testAddUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0()));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddMeansAddOne() {
        int originalCount = getMultiset().count(e0());
        assertTrue(getMultiset().add(e0()));
        assertEquals(originalCount + 1, getMultiset().count(e0()));
      }
    
      @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