Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testIllegalCreate (0.11 sec)

  1. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
      }
    
      public void testIllegalCreate() {
        Collection<Color> empty = EnumSet.noneOf(Color.class);
        assertThrows(IllegalArgumentException.class, () -> EnumMultiset.create(empty));
      }
    
      public void testCreateEmptyWithClass() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top