new BracketingNthOrderBrentSolver(1.0e-7, 5));
double t0 = 0.5 * FastMath.PI;
double tEnd = 5.5 * FastMath.PI;
double[] y = { 0.0, 1.0 };
Assert.assertEquals(tEnd,
integrator.integrate(new SineCosine(), t0, y, tEnd, y),
1.0e-7);
Assert.assertEquals(5, allEvents.getEventCount());
Assert.assertEquals(2, onlyIncreasing.getEventCount());
Assert.assertEquals(3, onlyDecreasing.getEventCount());