/** Objects that are equal should have the same hash code otherwise FindBugs will tell on us... */
 @Test
 public void testHashCode() {
   NormalDistributionFunction2D f1 = new NormalDistributionFunction2D(1.0, 2.0);
   NormalDistributionFunction2D f2 = new NormalDistributionFunction2D(1.0, 2.0);
   assertEquals(f1.hashCode(), f2.hashCode());
 }
 /** Some tests for the constructor. */
 @Test
 public void testConstructor() {
   NormalDistributionFunction2D f = new NormalDistributionFunction2D(1.0, 2.0);
   assertEquals(1.0, f.getMean(), EPSILON);
   assertEquals(2.0, f.getStandardDeviation(), EPSILON);
 }