final PricingEngine engine = new FDAmericanEngine(stochProcess, 100, 100);
final VanillaOption option = new VanillaOption(payoff, exercise);
option.setPricingEngine(engine);
final double calculated = option.NPV();
final double error = Math.abs(calculated - juValue.result);
if (error > tolerance) {
reportFailure(
"value", payoff, exercise,