- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testBuilder_presize_negative (0.18 sec)
-
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
builder.add(5L); ImmutableLongArray array = builder.build(); assertThat(array.asList()).containsExactly(5L); } public void testBuilder_presize_negative() { assertThrows(IllegalArgumentException.class, () -> ImmutableLongArray.builder(-1)); } /** * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 20.9K bytes - Viewed (0)