Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BehaviorTree/BehaviorTree.CPP
/ TEST
Function
TEST
tests/gtest_any.cpp:23–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
using namespace BT;
22
23
TEST(Any, Empty)
24
{
25
{
26
Any a;
27
EXPECT_TRUE(a.empty());
28
}
29
30
{
31
Any a(42);
32
EXPECT_FALSE(a.empty());
33
}
34
}
35
36
TEST(Any, IsType)
37
{
Callers
nothing calls this directly
Calls
3
empty
Method · 0.45
data
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected