Example #1
0
boost::unit_test_framework::test_suite* InflationVolTest::suite() {
    boost::unit_test_framework::test_suite* suite
        = BOOST_TEST_SUITE("yoyOptionletStripper (yoy inflation vol) tests");

    suite->add(QUANTLIB_TEST_CASE(&InflationVolTest::testYoYPriceSurfaceToATM));
    suite->add(QUANTLIB_TEST_CASE(&InflationVolTest::testYoYPriceSurfaceToVol));

    return suite;
}
test_suite* AdjointGreeksTest::suite()
{
    test_suite* suite = BOOST_TEST_SUITE("Adjoint greeks test (with tape compression).");

    suite->add(QUANTLIB_TEST_CASE(&AdjointGreeksTest::test));

    return suite;
}
test_suite* AdjointMarketModelCalibrationTest::suite()
{
    test_suite* suite = BOOST_TEST_SUITE("AdjointMarketModelCalibration test");
    suite->add(QUANTLIB_TEST_CASE(&AdjointMarketModelCalibrationTest::testCapletVolatilities));
    return suite;
}