MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / TEST_F

Function TEST_F

tests/gtest_sequence.cpp:228–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226/****************TESTS START HERE***************************/
227
228TEST_F(SimpleSequenceTest, ConditionTrue)
229{
230 std::cout << "Ticking the root node !" << std::endl << std::endl;
231 // Ticking the root node
232 BT::NodeStatus state = root.executeTick();
233
234 ASSERT_EQ(NodeStatus::RUNNING, action.status());
235 ASSERT_EQ(NodeStatus::RUNNING, state);
236}
237
238TEST_F(SimpleSequenceTest, ConditionTurnToFalse)
239{

Callers

nothing calls this directly

Calls 5

statusMethod · 0.80
setTimeMethod · 0.80
executeTickMethod · 0.45
setExpectedResultMethod · 0.45
tickCountMethod · 0.45

Tested by

no test coverage detected