⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.cpp

📁 VC源码,开源测试工具.有助于VC++的学习与开发
💻 CPP
字号:
#include <iostream>#include <exception>#include <tut/tut_restartable.hpp>#include <tut/tut_reporter.hpp>using std::cerr;using std::endl;using std::exception;using tut::reporter;using tut::restartable_wrapper;namespace tut{    test_runner_singleton runner;}int main(){    cerr << "NB: this application will be terminated by OS four times\n"        "before you'll get test results, be patient restarting it.\n";    try    {        reporter visi;        restartable_wrapper restartable;        restartable.set_callback(&visi);        restartable.run_tests();    }    catch (const exception& ex)    {        cerr << "tut raised ex: " << ex.what() << endl;    }    return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -