@Test
public void testPutDoubleProperty() {

    WProperties prop = new WProperties();
    prop.putDoubleProperty("double", Math.PI); //$NON-NLS-1$
    Assert.assertEquals("different double", Math.PI, prop.getDoubleProperty("double", 0.0), 0.0); //$NON-NLS-1$ //$NON-NLS-2$
    prop.putDoubleProperty("double", Double.NEGATIVE_INFINITY); //$NON-NLS-1$
    Assert.assertEquals("different double", Double.NEGATIVE_INFINITY, prop.getDoubleProperty("double", 0.0), 0.0); //$NON-NLS-1$ //$NON-NLS-2$
    prop.putDoubleProperty("double", Double.NaN); //$NON-NLS-1$
    Assert.assertEquals("different double", Double.NaN, prop.getDoubleProperty("double", 0.0), 0.0); //$NON-NLS-1$ //$NON-NLS-2$
}