runner.addTest(new MatricesTest());
runner.addTest(MatricesTest::suite());
int main() {    CppUnit::TextUi::TestRunner runner;    QLTestListener qlListener;    runner.eventManager().addListener(&qlListener);    runner.addTest(BarrierOptionTest::suite());    runner.addTest(BinaryOptionTest::suite());    runner.addTest(new CalendarTest);    runner.addTest(CapFloorTest::suite());    runner.addTest(CompoundForwardTest::suite());    runner.addTest(CovarianceTest::suite());    runner.addTest(new DateTest);    runner.addTest(DayCounterTest::suite());    runner.addTest(new DistributionTest);    runner.addTest(EuropeanOptionTest::suite());    runner.addTest(InstrumentTest::suite());    runner.addTest(IntegralTest::suite());    runner.addTest(LDSTest::suite());    runner.addTest(MarketElementTest::suite());    runner.addTest(new MatricesTest());    runner.addTest(new MersenneTwisterTest());    runner.addTest(new OperatorTest);    runner.addTest(PiecewiseFlatForwardTest::suite());    runner.addTest(new RiskStatisticsTest);    runner.addTest(SimpleSwapTest::suite());    runner.addTest(new Solver1DTest);    runner.addTest(new StatisticsTest);    runner.addTest(SwaptionTest::suite());    runner.addTest(TermStructureTest::suite());    // to be deprecated    runner.addTest(OldPricerTest::suite());    std::string header = "Testing QuantLib " QL_VERSION;    std::cerr << std::string(header.length(),'=') << std::endl;    std::cerr << header << std::endl;    std::cerr << std::string(header.length(),'=');    std::cerr.flush();    bool succeeded = runner.run();    return succeeded ? 0 : 1;}