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

Function TEST

tests/gtest_interface.cpp:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70};
71
72TEST(Factory, VirtualInterface_Issue_945)
73{
74 LinearMotor motor;
75 BT::BehaviorTreeFactory factory;
76 factory.registerNodeType<PathFollow>("PathFollow", std::ref(motor));
77
78 auto tree = factory.createTreeFromText(xml_text);
79 tree.tickWhileRunning();
80}

Callers

nothing calls this directly

Calls 2

createTreeFromTextMethod · 0.80
tickWhileRunningMethod · 0.80

Tested by

no test coverage detected