MCPcopy 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

21using namespace BT;
22
23TEST(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
36TEST(Any, IsType)
37{

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected