@Test
public void testPutFloatProperty() {

    WProperties prop = new WProperties();
    prop.putFloatProperty("float", Float.MAX_VALUE); //$NON-NLS-1$
    Assert.assertEquals("different float", Float.MAX_VALUE, prop.getFloatProperty("float", 0.0f), 0.0f); //$NON-NLS-1$ //$NON-NLS-2$
    prop.putFloatProperty("float", Float.NaN); //$NON-NLS-1$
    Assert.assertEquals("different float", Float.NaN, prop.getFloatProperty("float", 0.0f), 0.0f); //$NON-NLS-1$ //$NON-NLS-2$
}