protected Double maxValue() {
return Double.MAX_VALUE;
}
public void testCustomApi() {
DoubleSerializer serializer = createSerializer();
double val = 0;
assertEquals(val, serializer.doubleValue(serializer.doubleBytes(val)));
val = minValue();
assertEquals(val, serializer.doubleValue(serializer.doubleBytes(val)));
val = maxValue();
assertEquals(val, serializer.doubleValue(serializer.doubleBytes(val)));
val = anyValue();
assertEquals(val, serializer.doubleValue(serializer.doubleBytes(val)));
}