}
@Test
public void testInverse() {
final UnivariateFunction inv = new Inverse();
final UnivariateFunction log = new Log();
final double lo = 12.34;
final double hi = 456.78;
final GaussIntegrator integrator = factory.legendreHighPrecision(60, lo, hi);
final double s = integrator.integrate(inv);
final double expected = log.value(hi) - log.value(lo);
// System.out.println("s=" + s + " e=" + expected);
Assert.assertEquals(expected, s, 1e-15);
}