- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testCapacityForNegativeSizeFails (0.13 sec)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
@SuppressWarnings("UseCollectionConstructor") // test of factory method HashMap<Object, Object> map = Maps.newHashMap(original); assertEquals(original, map); } public void testCapacityForNegativeSizeFails() { assertThrows(IllegalArgumentException.class, () -> Maps.capacity(-1)); } /** * Tests that nHMWES makes hash maps large enough that adding the expected number of elementsRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
@SuppressWarnings("UseCollectionConstructor") // test of factory method HashMap<Object, Object> map = Maps.newHashMap(original); assertEquals(original, map); } public void testCapacityForNegativeSizeFails() { assertThrows(IllegalArgumentException.class, () -> Maps.capacity(-1)); } /** * Tests that nHMWES makes hash maps large enough that adding the expected number of elementsRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0)