- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testFromByteArrayWithTooShortArrayInputThrowsIllegalArgumentException (0.43 sec)
-
guava-tests/test/com/google/common/math/StatsTest.java
.putChar('.') .array(); assertThrows(IllegalArgumentException.class, () -> Stats.fromByteArray(tooLongByteArray)); } public void testFromByteArrayWithTooShortArrayInputThrowsIllegalArgumentException() { byte[] buffer = MANY_VALUES_STATS_VARARGS.toByteArray(); byte[] tooShortByteArray = ByteBuffer.allocate(buffer.length - 1) .order(ByteOrder.LITTLE_ENDIAN)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 33.3K bytes - Viewed (0)