- Class ActualActual
- the correctness of the results is checked against known good values.
- Class AnalyticBarrierEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- Class AnalyticBSMHullWhiteEngine
- the correctness of the returned value is tested by reproducing results available in web/literature
- Class AnalyticCliquetEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- Class AnalyticContinuousFixedLookbackEngine
- returned values are verified against results from literature
- Class AnalyticContinuousFloatingLookbackEngine
- returned values verified against results from literature
- Class AnalyticContinuousGeometricAveragePriceAsianEngine
- the correctness of the returned value is tested by reproducing results available in literature, and results obtained using a discrete average approximation.
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- Class AnalyticDigitalAmericanEngine
- the correctness of the returned value in case of cash-or-nothing at-hit digital payoff is tested by reproducing results available in literature.
- the correctness of the returned value in case of asset-or-nothing at-hit digital payoff is tested by reproducing results available in literature.
- the correctness of the returned value in case of cash-or-nothing at-expiry digital payoff is tested by reproducing results available in literature.
- the correctness of the returned value in case of asset-or-nothing at-expiry digital payoff is tested by reproducing results available in literature.
- the correctness of the returned greeks in case of cash-or-nothing at-hit digital payoff is tested by reproducing numerical derivatives.
- Class AnalyticDiscreteGeometricAveragePriceAsianEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- the correctness of the available greeks is tested against numerical calculations.
- Class AnalyticDividendEuropeanEngine
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- Class AnalyticEuropeanEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- the correctness of the returned greeks is tested by reproducing results available in literature.
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- the correctness of the returned implied volatility is tested by using it for reproducing the target value.
- the implied-volatility calculation is tested by checking that it does not modify the option.
- the correctness of the returned value in case of cash-or-nothing digital payoff is tested by reproducing results available in literature.
- the correctness of the returned value in case of asset-or-nothing digital payoff is tested by reproducing results available in literature.
- the correctness of the returned value in case of gap digital payoff is tested by reproducing results available in literature.
- the correctness of the returned greeks in case of cash-or-nothing digital payoff is tested by reproducing numerical derivatives.
- Class AnalyticHestonEngine
- the correctness of the returned value is tested by reproducing results available in web/literature and comparison with Black pricing.
- Class AnalyticHestonHullWhiteEngine
- the correctness of the returned value is tested by reproducing results available in web/literature, testing against QuantLib's analytic Heston and Black-Scholes-Merton Hull-White engine
- Class AnalyticPerformanceEngine
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- Class Array
- construction of arrays is checked in a number of cases
- Class BaroneAdesiWhaleyApproximationEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- Class BatesEngine
- the correctness of the returned value is tested by reproducing results available in web/literature, testing against QuantLib's jump diffusion engine and comparison with Black pricing.
- Class BatesModel
- calibration is tested against known values.
- Class BinomialVanillaEngine
- the correctness of the returned values is tested by checking it against analytic results.
- Class Bisection
- the correctness of the returned values is tested by checking them against known good results.
- Class BivariateCumulativeNormalDistributionDr78
- the correctness of the returned value is tested by checking it against known good results.
- Class BivariateCumulativeNormalDistributionWe04DP
- the correctness of the returned value is tested by checking it against known good results.
- Class BjerksundStenslandApproximationEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- Class Bond
- price/yield calculations are cross-checked for consistency.
- price/yield calculations are checked against known good values.
- Class Brazil
- the correctness of the returned results is tested against a list of known holidays.
- Class Brent
- the correctness of the returned values is tested by checking them against known good results.
- Class Calendar
- the methods for adding and removing holidays are tested by inspecting the calendar before and after their invocation.
- Class CapFloor
- the correctness of the returned value is tested by checking that the price of a cap (resp. floor) decreases (resp. increases) with the strike rate.
- the relationship between the values of caps, floors and the resulting collars is checked.
- the put-call parity between the values of caps, floors and swaps is checked.
- the correctness of the returned implied volatility is tested by using it for reproducing the target value.
- the correctness of the returned value is tested by checking it against a known good value.
- Class CmsRateBond
- calculations are tested by checking results against cached values.
- Class CompositeQuote
- the correctness of the returned values is tested by checking them against numerical calculations.
- Class CompoundForward
- the correctness of the curve is tested by reproducing the input data.
- the correctness of the curve is tested by checking the consistency between returned rates and swaps priced on the curve.
- Class ConvergenceStatistics
- results are tested against known good values.
- Class CovarianceDecomposition
- cross checked with getCovariance
- Class CubicSplineInterpolation
- the correctness of the returned values is tested by reproducing results available in literature.
- Class CumulativePoissonDistribution
- the correctness of the returned value is tested by checking it against known good results.
- Class Date
- self-consistency of dates, serial numbers, days of month, months, and weekdays is checked over the whole date range.
- Class DerivedQuote
- the correctness of the returned values is tested by checking them against numerical calculations.
- Class DigitalCoupon
- the correctness of the returned value in case of Asset-or-nothing embedded option is tested by pricing the digital option with Cox-Rubinstein formula.
- the correctness of the returned value in case of deep-in-the-money Asset-or-nothing embedded option is tested vs the expected values of coupon and option.
- the correctness of the returned value in case of deep-out-of-the-money Asset-or-nothing embedded option is tested vs the expected values of coupon and option.
- the correctness of the returned value in case of Cash-or-nothing embedded option is tested by pricing the digital option with Reiner-Rubinstein formula.
- the correctness of the returned value in case of deep-in-the-money Cash-or-nothing embedded option is tested vs the expected values of coupon and option.
- the correctness of the returned value in case of deep-out-of-the-money Cash-or-nothing embedded option is tested vs the expected values of coupon and option.
- the correctness of the returned value is tested checking the correctness of the call-put parity relation.
- the correctness of the returned value is tested by the relationship between prices in case of different replication types.
- Class DPlusDMinus
- the correctness of the returned values is tested by checking them against numerical calculations.
- Class DZero
- the correctness of the returned values is tested by checking them against numerical calculations.
- Class ExchangeRate
- application of direct and derived exchange rate is tested against calculations.
- Class ExchangeRateManager
- lookup of direct, triangulated, and derived exchange rates is tested.
- Class Factorial
- the correctness of the returned value is tested by checking it against numerical calculations.
- Class FalsePosition
- the correctness of the returned values is tested by checking them against known good results.
- Class FaureRsg
- the correctness of the returned values is tested by reproducing known good values.
- Class FDEuropeanEngine
- the correctness of the returned value is tested by checking it against analytic results.
- Class FixedRateBond
- calculations are tested by checking results against cached values.
- Class FloatingRateBond
- calculations are tested by checking results against cached values.
- Class ForwardPerformanceVanillaEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- Class ForwardSpreadedTermStructure
- the correctness of the returned values is tested by checking them against numerical calculations.
- observability against changes in the underlying term structure and in the added spread is checked.
- Class ForwardVanillaEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- Class GammaFunction
- the correctness of the returned value is tested by checking it against known good results.
- Class GaussianQuadrature
- the correctness of the result is tested by checking it against known good values.
- Class GaussKronrodAdaptive
- the correctness of the result is tested by checking it against known good values.
- Class GenericSequenceStatistics
- the correctness of the returned values is tested by checking them against numerical calculations.
- Class Germany
- the correctness of the returned results is tested against a list of known holidays.
- Class HaltonRsg
- the correctness of the returned values is tested by reproducing known good values.
- the correctness of the returned values is tested by checking their discrepancy against known good values.
- Class HestonModel
- calibration is tested against known good values.
- Class HullWhite
- calibration results are tested against cached values
- Class ImpliedTermStructure
- the correctness of the returned values is tested by checking them against numerical calculations.
- observability against changes in the underlying term structure is checked.
- Class Instrument
- observability of class instances is checked.
- Class InterestRate
- Converted rates are checked against known good results
- Class InverseCumulativePoisson
- the correctness of the returned value is tested by checking it against known good results.
- Class Italy
- the correctness of the returned results is tested against a list of known holidays.
- Class JointCalendar
- the correctness of the returned results is tested by reproducing the calculations.
- Class JumpDiffusionEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- Class JuQuadraticApproximationEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- Class LfmHullWhiteParameterization
- the correctness is tested by Monte-Carlo reproduction of caplet & ratchet npvs and comparison with Black pricing.
- Class LiborForwardModel
- the correctness is tested using Monte-Carlo Simulation to reproduce swaption npvs, model calibration and exact cap pricing
- Class LiborForwardModelProcess
- the correctness is tested by Monte-Carlo reproduction of caplet & ratchet NPVs and comparison with Black pricing.
- Class LinearLeastSquaresRegression
- the correctness of the returned values is tested by checking their properties.
- Class LongstaffSchwartzPathPricer
- the correctness of the returned value is tested by reproducing results available in web/literature
- Member pseudoSqrt
- the correctness of the results is tested by reproducing known good data.
- the correctness of the results is tested by checking returned values against numerical calculations.
- Class MCAmericanEngine
- the correctness of the returned value is tested by reproducing results available in web/literature
- Class MCBarrierEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- Class MCBasketEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- Class MCDigitalEngine
- the correctness of the returned value in case of cash-or-nothing at-hit digital payoff is tested by reproducing known good results.
- Class MCDiscreteArithmeticAPEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- Class MCDiscreteGeometricAPEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- Class MCEuropeanEngine
- the correctness of the returned value is tested by checking it against analytic results.
- Class MCEuropeanHestonEngine
- the correctness of the returned value is tested by reproducing results available in web/literature
- Class MCLongstaffSchwartzEngine
- the correctness of the returned value is tested by reproducing results available in web/literature
- Class MCVarianceSwapEngine
- returned fair variances checked for consistency with implied volatility curve.
- Class MersenneTwisterUniformRng
- the correctness of the returned values is tested by checking them against known good results.
- Class Money
- money arithmetic is tested with and without currency conversions.
- Class MultiCubicSpline
- interpolated values are checked against the original function.
- Class MultiPathGenerator
- the generated paths are checked against cached results
- Class Newton
- the correctness of the returned values is tested by checking them against known good results.
- Class NewtonSafe
- the correctness of the returned values is tested by checking them against known good results.
- Class NormalDistribution
- the correctness of the returned value is tested by checking it against numerical calculations. Cross-checks are also performed against the CumulativeNormalDistribution and InverseCumulativeNormal classes.
- Class OperatorFactory
- coefficients are tested against constant BSM operator
- Class PathGenerator
- the generated paths are checked against cached results
- Class Period
- self-consistency of algebra is checked.
- Class PiecewiseYieldCurve
- the correctness of the returned values is tested by checking them against the original inputs.
- the observability of the term structure is tested.
- Class PoissonDistribution
- the correctness of the returned value is tested by checking it against known good results.
- Class QuantoEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- Class Quote
- the observability of class instances is tested.
- Class RandomizedLDS
- correct initialization is tested.
- Class ReplicatingVarianceSwapEngine
- returned fair variances verified against results from literature
- Class Ridder
- the correctness of the returned values is tested by checking them against known good results.
- Class Rounding
- the correctness of the returned values is tested by checking them against known good results.
- Class Secant
- the correctness of the returned values is tested by checking them against known good results.
- Class SeedGenerator
- correct initialization of the single instance is tested.
- Class SegmentIntegral
- the correctness of the result is tested by checking it against known good values.
- Class SimpleDayCounter
- the correctness of the results is checked against known good values.
- Class SimpsonIntegral
- the correctness of the result is tested by checking it against known good values.
- Class SobolRsg
- the correctness of the returned values is tested by reproducing known good values.
- the correctness of the returned values is tested by checking their discrepancy against known good values.
- Class StulzEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- Class SVD
- the correctness of the returned values is tested by checking their properties.
- Class Swaption
- the correctness of the returned value is tested by checking that the price of a payer (resp. receiver) swaption decreases (resp. increases) with the strike.
- the correctness of the returned value is tested by checking that the price of a payer (resp. receiver) swaption increases (resp. decreases) with the spread.
- the correctness of the returned value is tested by checking it against that of a swaption on a swap with no spread and a correspondingly adjusted fixed rate.
- the correctness of the returned value is tested by checking it against a known good value.
- the correctness of the returned value of cash settled swaptions is tested by checking the modified annuity against a value calculated without using the Swaption class.
- Class SymmetricSchurDecomposition
- the correctness of the returned values is tested by checking their properties.
- Class TARGET
- the correctness of the returned results is tested against a list of known holidays.
- Class TqrEigenDecomposition
- the correctness of the result is tested by checking it against known good values.
- Class TrapezoidIntegral
- the correctness of the result is tested by checking it against known good values.
- Class TreeSwaptionEngine
- calculations are checked against cached results
- Class TreeVanillaSwapEngine
- calculations are checked against known good results
- Class UnitedKingdom
- the correctness of the returned results is tested against a list of known holidays.
- Class UnitedStates
- the correctness of the returned results is tested against a list of known holidays.
- Class VanillaSwap
- the correctness of the returned value is tested by checking that the price of a swap paying the fair fixed rate is null.
- the correctness of the returned value is tested by checking that the price of a swap receiving the fair floating-rate spread is null.
- the correctness of the returned value is tested by checking that the price of a swap decreases with the paid fixed rate.
- the correctness of the returned value is tested by checking that the price of a swap increases with the received floating-rate spread.
- the correctness of the returned value is tested by checking it against a known good value.
- Class YieldTermStructure
- observability against evaluation date changes is checked.
- Class ZeroCouponBond
- calculations are tested by checking results against cached values.
- Class ZeroSpreadedTermStructure
- the correctness of the returned values is tested by checking them against numerical calculations.
- observability against changes in the underlying term structure and in the added spread is checked.
- Member getCovariance
- tested on know values and cross checked with CovarianceDecomposition
- Member triangularAnglesParametrization
- the correctness of the results is tested by reproducing known good data.
- the correctness of the results is tested by checking returned values against numerical calculations.
- Member triangularAnglesParametrizationRankThree
- the correctness of the results is tested by reproducing known good data.
- the correctness of the results is tested by checking returned values against numerical calculations.
- Member PseudoRandom
- a sequence generator is generated and tested by comparing samples against known good values.
- Member PoissonPseudoRandom
- sequence generators are generated and tested by comparing samples against known good values.
- Member RiskStatistics
- the correctness of the returned values is tested by checking them against numerical calculations.
- Member SequenceStatistics
- the correctness of the returned values is tested by checking them against numerical calculations.
- Member Statistics
- the correctness of the returned values is tested by checking them against numerical calculations.
- Member FDAmericanEngine
- the correctness of the returned value is tested by reproducing results available in literature.
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- Member FDDividendAmericanEngine
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- the invariance of the results upon addition of null dividends is tested.
- Member FDDividendEuropeanEngine
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- the invariance of the results upon addition of null dividends is tested.
- Member FDShoutEngine
- the correctness of the returned greeks is tested by reproducing numerical derivatives.
- Member BSMTermOperator
- coefficients are tested against constant BSM operator