MCPcopy Create free account
hub / github.com/EndstoneMC/endstone / TEST

Function TEST

tests/bedrock/test_function_ref.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36};
37
38TEST(FunctionRefTests, FreeFunction)
39{
40 brstd::function_ref<int(int)> ref(free_function);
41 EXPECT_EQ(ref(3), 6);
42}
43
44TEST(FunctionRefTests, Functor)
45{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected