// test BIG_ENDIAN double buffer, read
buf.clear();
buf.order(ByteOrder.BIG_ENDIAN);
doubleBuffer = buf.asDoubleBuffer();
assertSame(ByteOrder.BIG_ENDIAN, doubleBuffer.order());
while (doubleBuffer.remaining() > 0) {
buf.get(bytes);
value = doubleBuffer.get();
if (!(Double.isNaN(bytes2double(bytes, buf.order())) && Double
.isNaN(value))) {
assertEquals(bytes2double(bytes, buf.order()), value, 0.00);