Example #1
0
void StabTestPack::perform_test(Test& test)
{
    PrintDelim();
    cout<<test.TestName()<<" (count is "<<_count<<")"<<endl;

    try {
        test.Execute();
        cout<<"OK"<<endl;
    }
    catch (const logic_error& error) {
        cerr<<endl<<error.what()<<endl;
    }
    catch (...) {
        cerr<<endl<<"Unknow error"<<endl;
    }
}