15 lines
234 B
C++
15 lines
234 B
C++
#define CATCH_CONFIG_MAIN
|
|
#include "catch.hpp"
|
|
|
|
#include <iostream>
|
|
#include <thread>
|
|
#include <string>
|
|
|
|
#include "main.hpp"
|
|
|
|
std::string get_pid() {
|
|
std::stringstream s;
|
|
s << std::this_thread::get_id();
|
|
return s.str();
|
|
}
|