test.cpp
来自「设计模式模板源码」· C++ 代码 · 共 25 行
CPP
25 行
#include "UnitTest.h"
// static variable defintion, do not remove
Test::tests_type Test::tests;
// Merely comment out any of the following headers to
// prevent thier execution during the test.
//
// A pluggable-factory-like method is used to
// auto-register the test, so all that is needed
// is the header inclusion to execute the correspond
// unit test.
#include "observer\observerTest.h"
#include "Singleton\SingletonTest.h"
int main()
{
int result = Test::run("XPDPTL Unit Test");
return result;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?