Runtime
1
11
12
13
14
15
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// {
#define GSL_THROW_ON_CONTRACT_VIOLATION
#include "gsl/gsl"
// {
struct TestParams { };
void ReportError(const std::string& str) { }
void RunApp(gsl::not_null<App *> pApp)
{
pApp->Run();
pApp->Shutdown();
}
void DiagnoseApp(gsl::not_null<App *> pApp)
{
pApp->Diagnose();
}
void TestAppCheck(App* pApp, TestParams* pParams)
{
if (pApp && pParams)
{
// ...
}
else
Enter to Rename, Shift+Enter to Preview