/ 100.0
* (vars.redemption
* vars.riskFreeRate.currentLink().discount(
vars.maturityDate) + vars.conversionRatio
* euOption.NPV());
final double error = Math.abs(euZero.NPV() - expected);
if (error > tolerance) {
fail("failed to reproduce plain-option price:"
+ "\n calculated: " + euZero.NPV()
+ "\n expected: " + expected + "\n error: "
+ error);