ValueEval[] args2 = { aeA, percentile };
return AggregateFunction.PERCENTILE.evaluate(args2, -1, -1);
}
private void confirmPercentile(ValueEval percentile, ValueEval[] args, double expected) {
ValueEval result = invokePercentile(args, percentile);
assertEquals(NumberEval.class, result.getClass());
double delta = 0.00000001;
assertEquals(expected, ((NumberEval) result).getNumberValue(), delta);
}