array.setAll(FloatArray.unsafeValueOf());
assertArrayEquals(new float[]{}, array.toArray(), 0);
assertEquals(0, array.length());
assertEquals(offset, array.offset());
FloatBuffer buffer = array.buffer();
buffer.rewind().limit(buffer.capacity());
while (buffer.hasRemaining()) {
assertEquals(0, buffer.get(), 0);
}
}