Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRemove_occurrences_wrongType (0.14 sec)

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

      public void testRemove_occurrences_negative() {
        assertThrows(IllegalArgumentException.class, () -> getMultiset().remove(e0(), -1));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_wrongType() {
        assertEquals(
            "multiset.remove(wrongType, 1) didn't return 0",
            0,
            getMultiset().remove(WrongType.VALUE, 1));
      }
    
      @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