integ.addStepHandler(new StepNormalizer(0.5, this, mode, bounds));
double[] y = {0.0};
double start = reverse ? getEnd() : getStart();
double end = reverse ? getStart() : getEnd();
output = new ArrayList<Double>();
integ.integrate(this, start, y, end, y);
double[] actual = new double[output.size()];
for(int i = 0; i < actual.length; i++) {
actual[i] = output.get(i);
}
assertArrayEquals(expected, actual, 1e-5);