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