BesselJ implements UnivariateFunction { public double value(double x) throws MathIllegalArgumentException, ConvergenceException { return BesselJ.value(order, x); } BesselJ(double order); double value(double x); static double value(double order, double x); static BesselJResult rjBesl(double x, double alpha, int nb);  }
@Test(expected=MathIllegalArgumentException.class) public void testIAEBadOrder() { BesselJ.value(-1, 1); }
@Test(expected=MathIllegalArgumentException.class) public void testIAEBadArgument() { BesselJ.value(1, 100000); }