- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testConstructorEmptyArray (1.38 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
for (int i = 0; i < VALUES.length; i++) { assertBitEquals(VALUES[i], aa.get(i)); } } /** constructor with empty array has size 0 and contains no elements */ public void testConstructorEmptyArray() { AtomicDoubleArray aa = new AtomicDoubleArray(new double[0]); assertEquals(0, aa.length()); assertThrows(IndexOutOfBoundsException.class, () -> aa.get(0)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
for (int i = 0; i < VALUES.length; i++) { assertBitEquals(VALUES[i], aa.get(i)); } } /** constructor with empty array has size 0 and contains no elements */ public void testConstructorEmptyArray() { AtomicDoubleArray aa = new AtomicDoubleArray(new double[0]); assertEquals(0, aa.length()); assertThrows(IndexOutOfBoundsException.class, () -> aa.get(0)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.8K bytes - Click Count (0)