Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- template <typename Function>
- void RunTestImpl(Function func, const string& func_str) {
- /* Напишите недостающий код */
- func();
- cerr << func_str << " OK" << endl;
- }
- #define RUN_TEST(func) RunTestImpl((func), #func) // напишите недостающий код
- void Test1() {
- }
- int main() {
- RUN_TEST(Test1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement