@Override
    public double mean() {
        return mean;
    }
@Test
    public void testMean() {
        System.out.println("mean");
        KernelDensity instance = new KernelDensity(x);
        double expResult = 3.55417;
        double result = instance.mean();
        assertEquals(expResult, result, 1E-5);
    }