void () { final int percentileToEstimate = 10; final double step = 0.5; final FrugalQuantileEstimator estimator = new FrugalQuantileEstimator(percentileToEstimate, step); final int[] samples = rnd.ints(0, 100) .limit(SAMPLES) .toArray(); checkEstimatorIsGoodOnSamples(estimator, samples, expectedTolerance(step, SAMPLES)); }