Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRemoveZeroNoOp (0.26 sec)

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

      public void testRemoveUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMultiset().remove(e0(), 2));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveZeroNoOp() {
        int originalCount = getMultiset().count(e0());
        assertEquals("old count", originalCount, getMultiset().remove(e0(), 0));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top