Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAddSeveralTimes (0.12 sec)

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

        assertEquals("old count", originalCount, getMultiset().add(e0(), 2));
        assertEquals("old count", originalCount + 2, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddSeveralTimes() {
        int originalCount = getMultiset().count(e0());
        assertEquals(originalCount, getMultiset().add(e0(), 2));
        assertTrue(getMultiset().add(e0()));
        assertEquals(originalCount + 3, getMultiset().add(e0(), 1));
    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