public void testDouble() throws Exception {
    assertDouble(0d);
    assertDouble(Double.MIN_VALUE);
    assertDouble(Double.MAX_VALUE);
    assertDouble(3.14d);
    assertDouble(-3.14d);
    assertDouble(Double.NaN);
    assertDouble(Double.POSITIVE_INFINITY);
    assertDouble(Double.NEGATIVE_INFINITY);
  }
Basic behavior validation for all transcoders that work with objects.
src/test/java/net/spy/memcached/transcoders/BaseTranscoderCase.java