MCPcopy Create free account
hub / github.com/alibaba/async_simple / TEST

Function TEST

async_simple/util/test/MoveOnlyFunctionTest.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace util {
26
27TEST(move_only_function, empty) {
28 move_only_function<int(int)> f;
29 EXPECT_THROW(f(2), std::bad_function_call);
30}
31
32int test_for_move_only(int i) { return i; }
33

Callers

nothing calls this directly

Calls 1

fFunction · 0.85

Tested by

no test coverage detected