We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c45c8ad commit 5c54872Copy full SHA for 5c54872
tests/gtest_reactive.cpp
@@ -1,14 +1,12 @@
1
#include <gtest/gtest.h>
2
#include "behaviortree_cpp/bt_factory.h"
3
#include "test_helper.hpp"
4
-#include "behaviortree_cpp/loggers/bt_cout_logger.h"
5
6
using BT::NodeStatus;
7
using std::chrono::milliseconds;
8
9
TEST(Reactive, RunningChildren)
10
{
11
-
12
static const char* reactive_xml_text = R"(
13
<root BTCPP_format="4" >
14
<BehaviorTree ID="MainTree">
@@ -84,12 +82,7 @@ TEST(Reactive, Issue587)
84
82
RegisterTestTick(factory, "Test", counters);
85
83
86
auto tree = factory.createTreeFromText(reactive_xml_text);
87
- BT::StdCoutLogger logger(tree);
88
89
- // for(int i=0; i<5; i++)
90
- {
91
- tree.tickWhileRunning();
92
- }
+ tree.tickWhileRunning();
93
94
ASSERT_EQ(counters[0], 1);
95
}
0 commit comments