Assert.assertEquals(bvalues.length, 7, "correct bucket values size");
Assert.assertEquals(bvalues[0], -4, "correct bucket value 0");
Assert.assertEquals(bvalues[6], 56, "correct bucket value 51");
for (int i = 1; i <= 5; ++i) Assert.assertEquals(bvalues[i], (i - 1) * 10 + 6, "correct bucket value " + i);
stats.calcStats(s);
Assert.assertEquals(s.getSum(), 40 * (6 + 16 + 26 + 36 + 46), "correct sum");
Assert.assertEquals(s.getNum(), 200, "correct num");
Assert.assertEquals(s.getMean(), 1.0 * s.getSum() / s.getNum(), "correct mean");
Assert.assertEquals(s.getMin(), 6, "correct min");