private void testSeveral(final Integrator I) {
testSingle(I, "f(x) = 1", new Constant(1.0), 0.0, 1.0, 1.0);
testSingle(I, "f(x) = x", new Identity(), 0.0, 1.0, 0.5);
testSingle(I, "f(x) = x^2", new Square(), 0.0, 1.0, 1.0/3.0);
testSingle(I, "f(x) = sin(x)", new Sin(), 0.0, Constants.M_PI, 2.0);
testSingle(I, "f(x) = cos(x)", new Cos(), 0.0, Constants.M_PI, 0.0);
testSingle(I, "f(x) = Gaussian(x)", new NormalDistribution(), -10.0, 10.0, 1.0);
//TODO: http://bugs.jquantlib.org/view.php?id=452
// testSingle(I, "f(x) = Abcd2(x)",
// AbcdSquared(0.07, 0.07, 0.5, 0.1, 8.0, 10.0),