Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BehaviorTree/BehaviorTree.CPP
/ setExpectedResult
Method
setExpectedResult
tests/navigation_test.cpp:56–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
{}
55
56
void setExpectedResult(bool will_succeed)
57
{
58
_expected_result = will_succeed;
59
}
60
NodeStatus expectedResult() const
61
{
62
return _expected_result ? NodeStatus::SUCCESS : NodeStatus::FAILURE;
Callers
1
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected