@Test
public void isLikelyFloatTest() {

    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1.23f)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1.0f)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.NaN)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.NEGATIVE_INFINITY)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.POSITIVE_INFINITY)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1e-30f)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1000f)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1f)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(-1f)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(-5f)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1.3333f)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(4.5f)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(.1f)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(50000f)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.MAX_VALUE)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits((float)Math.PI)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits((float)Math.E)));
    Assert.assertTrue(NumberUtils.isLikelyFloat(2139095039));
    // Float.MIN_VALUE is equivalent to integer value 1 - this should be detected as an integer
    //Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.MIN_VALUE)));
    // This one doesn't quite work. It has a series of 2 0's, but that is probably not enough to strip off normally
    //Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1.33333f)));
    Assert.assertFalse(NumberUtils.isLikelyFloat(0));
    Assert.assertFalse(NumberUtils.isLikelyFloat(1));
    Assert.assertFalse(NumberUtils.isLikelyFloat(10));
    Assert.assertFalse(NumberUtils.isLikelyFloat(100));
    Assert.assertFalse(NumberUtils.isLikelyFloat(1000));
    Assert.assertFalse(NumberUtils.isLikelyFloat(1024));
    Assert.assertFalse(NumberUtils.isLikelyFloat(1234));
    Assert.assertFalse(NumberUtils.isLikelyFloat(-5));
    Assert.assertFalse(NumberUtils.isLikelyFloat(-13));
    Assert.assertFalse(NumberUtils.isLikelyFloat(-123));
    Assert.assertFalse(NumberUtils.isLikelyFloat(20000000));
    Assert.assertFalse(NumberUtils.isLikelyFloat(2000000000));
    Assert.assertFalse(NumberUtils.isLikelyFloat(-2000000000));
    Assert.assertFalse(NumberUtils.isLikelyFloat(Integer.MAX_VALUE));
    Assert.assertFalse(NumberUtils.isLikelyFloat(Integer.MIN_VALUE));
    Assert.assertFalse(NumberUtils.isLikelyFloat(Short.MIN_VALUE));
    Assert.assertFalse(NumberUtils.isLikelyFloat(Short.MAX_VALUE));
}