@Override
    public double variance() {
        return variance;
    }
@Test
    public void testVariance() {
        System.out.println("variance");
        WeibullDistribution instance = new WeibullDistribution(1.5, 1.0);
        instance.rand();
        assertEquals(0.37569028, instance.variance(), 1E-7);
    }