}
}
@Test
public void testRootEndpoints() {
UnivariateFunction f = new XMinus5Function();
UnivariateSolver solver = getSolver();
// End-point is root. This should be a special case in the solver, and
// the initial end-point should be returned exactly.
double result = solver.solve(100, f, 5.0, 6.0);