1 #define CATCH_CONFIG_MAIN 2 #include "catch.hpp" 3 4 #include <iostream> 5 #include <thread> 6 #include <string> 7 8 #include "main.hpp" 9 get_pid()10 std::string get_pid() { 11 std::stringstream s; 12 s << std::this_thread::get_id(); 13 return s.str(); 14 } 15