instance.eval(reader);
double expResult = 8.857809480593293;
RadioActiveDecay result = (RadioActiveDecay) ((Invocable)instance).getInterface(returnType);
assertEquals(expResult, result.amountAfterYears(10.0, 1000), 0.000001);
expResult = 18984.81906228128;
assertEquals(expResult, result.yearsToAmount(10.0, 1.0), 0.000001);
instance.getBindings(ScriptContext.ENGINE_SCOPE).clear();
instance = null;
}