@Test
public void testHashDouble() {

  assertEquals(new Double(0.0).hashCode(), RandomUtils.hashDouble(0.0));
  assertEquals(new Double(1.0).hashCode(), RandomUtils.hashDouble(1.0));
  assertEquals(new Double(Double.POSITIVE_INFINITY).hashCode(), RandomUtils.hashDouble(Double.POSITIVE_INFINITY));
  assertEquals(new Double(Double.NaN).hashCode(), RandomUtils.hashDouble(Double.NaN));
}