@Test
public void testReadDouble() {

	ByteBuffer byteBuffer = ByteBuffer.allocate(_COUNT * 8);
	byteBuffer.order(ByteOrder.BIG_ENDIAN);
	DoubleBuffer doubleBuffer = byteBuffer.asDoubleBuffer();
	double[] doubles = new double[_COUNT];
	for (int i = 0; i < _COUNT; i++) {
		doubles[i] = _random.nextDouble();
		doubleBuffer.put(doubles[i]);
	}
	Deserializer deserializer = new Deserializer(byteBuffer);
	for (int i = 0; i < _COUNT; i++) {
		Assert.assertEquals(
			(Double)doubles[i], (Double)deserializer.readDouble());
	}
}