| 19 | using namespace std::chrono_literals; |
| 20 | |
| 21 | TEST(rpc, compilation_tests) { |
| 22 | Server server(TESTING_PORT); |
| 23 | server.BindSync("bind00", []() { return 2.0f; }); |
| 24 | server.BindSync("bind01", [](int x) { return x; }); |
| 25 | server.BindSync("bind02", [](int, float) { return 0.0; }); |
| 26 | server.BindSync("bind03", [](int, float, double, char) {}); |
| 27 | } |
| 28 | |
| 29 | TEST(rpc, server_bind_sync_run_on_game_thread) { |
| 30 | const auto main_thread_id = std::this_thread::get_id(); |
nothing calls this directly
no test coverage detected