Skip to content

Commit 9203665

Browse files
committed
cleanup
1 parent 870ad2a commit 9203665

File tree

4 files changed

+2
-20
lines changed

4 files changed

+2
-20
lines changed

src/controls/reactive_fallback.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
*/
1212

1313
#include "behaviortree_cpp/controls/reactive_fallback.h"
14-
#include <thread> // *TODO* REMOVE AFTER DEBUG
15-
14+
#include <thread>
1615
namespace BT
1716
{
1817

src/controls/reactive_sequence.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
#include "behaviortree_cpp/controls/reactive_sequence.h"
14-
#include <thread> // *TODO* REMOVE AFTER DEBUG
14+
#include <thread>
1515

1616
namespace BT
1717
{

tests/gtest_reactive_fallback.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/* Copyright (C) 2015-2019 Michele Colledanchise - All Rights Reserved
32
*
43
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
@@ -21,7 +20,6 @@
2120
using BT::NodeStatus;
2221
using std::chrono::milliseconds;
2322

24-
2523
struct ReactiveFallbackTest : testing::Test
2624
{
2725
BT::ReactiveFallback root;
@@ -45,7 +43,6 @@ struct ReactiveFallbackTest : testing::Test
4543
}
4644
};
4745

48-
4946
struct ReactiveFallback2ActionsTest : testing::Test
5047
{
5148
BT::ReactiveFallback root;
@@ -103,8 +100,6 @@ struct ComplexReactiveFallback2ActionsTest : testing::Test
103100
}
104101
};
105102

106-
107-
108103
/****************TESTS START HERE***************************/
109104

110105
TEST_F(ReactiveFallbackTest, Condition1ToTrue)
@@ -178,8 +173,6 @@ TEST_F(ReactiveFallback2ActionsTest, Actions)
178173

179174
}
180175

181-
182-
183176
TEST_F(ComplexReactiveFallback2ActionsTest, ConditionsTrue)
184177
{
185178
BT::NodeStatus state = root.executeTick();
@@ -205,7 +198,6 @@ TEST_F(ComplexReactiveFallback2ActionsTest, ConditionsTrue)
205198
ASSERT_EQ(NodeStatus::IDLE, condition_2.status());
206199
ASSERT_EQ(NodeStatus::IDLE, action_2.status());
207200

208-
209201
std::this_thread::sleep_for(milliseconds(300));
210202
state = root.executeTick();
211203

tests/gtest_reactive_sequence.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/* Copyright (C) 2015-2019 Michele Colledanchise - All Rights Reserved
32
*
43
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
@@ -45,10 +44,6 @@ struct ReactiveSequenceTest : testing::Test
4544
}
4645
};
4746

48-
49-
50-
51-
5247
struct ReactiveSequence2ActionsTest : testing::Test
5348
{
5449
BT::ReactiveSequence root;
@@ -106,8 +101,6 @@ struct ComplexReactiveSequence2ActionsTest : testing::Test
106101
}
107102
};
108103

109-
110-
111104
/****************TESTS START HERE***************************/
112105

113106
TEST_F(ReactiveSequenceTest, Condition1ToFalse)
@@ -180,8 +173,6 @@ TEST_F(ReactiveSequence2ActionsTest, ConditionsTrue)
180173

181174
}
182175

183-
184-
185176
TEST_F(ComplexReactiveSequence2ActionsTest, ConditionsTrue)
186177
{
187178
BT::NodeStatus state = root.executeTick();

0 commit comments

Comments
 (0)