Skip to content

Commit 1b7cf57

Browse files
committed
Fix formatting
1 parent d01dd0f commit 1b7cf57

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

steering_controllers_library/test/test_steering_controllers_library_steering_input.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
#include "test_steering_controllers_library_steering_input.hpp"
2222

2323
class SteeringControllersLibrarySteeringInputTest
24-
: public SteeringControllersSteeringInputLibraryFixture<TestableSteeringControllersSteeringInputLibrary>
24+
: public SteeringControllersSteeringInputLibraryFixture<
25+
TestableSteeringControllersSteeringInputLibrary>
2526
{
2627
};
2728

@@ -137,8 +138,7 @@ TEST_F(SteeringControllersLibrarySteeringInputTest, test_both_update_methods_for
137138
ASSERT_EQ(
138139
(*(controller_->input_ref_steering_.readFromNonRT()))->linear_velocity, TEST_LINEAR_VELOCITY_X);
139140
ASSERT_EQ(
140-
(*(controller_->input_ref_steering_.readFromNonRT()))->steering_angle,
141-
TEST_STEERING_ANGLE);
141+
(*(controller_->input_ref_steering_.readFromNonRT()))->steering_angle, TEST_STEERING_ANGLE);
142142

143143
EXPECT_TRUE(std::isnan(controller_->reference_interfaces_[0]));
144144
for (const auto & interface : controller_->reference_interfaces_)
@@ -181,8 +181,7 @@ TEST_F(SteeringControllersLibrarySteeringInputTest, test_both_update_methods_for
181181
ASSERT_EQ(
182182
(*(controller_->input_ref_steering_.readFromNonRT()))->linear_velocity, TEST_LINEAR_VELOCITY_X);
183183
ASSERT_EQ(
184-
(*(controller_->input_ref_steering_.readFromNonRT()))->steering_angle,
185-
TEST_STEERING_ANGLE);
184+
(*(controller_->input_ref_steering_.readFromNonRT()))->steering_angle, TEST_STEERING_ANGLE);
186185

187186
EXPECT_TRUE(std::isnan(controller_->reference_interfaces_[0]));
188187
for (const auto & interface : controller_->reference_interfaces_)

steering_controllers_library/test/test_steering_controllers_library_steering_input.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ class TestableSteeringControllersSteeringInputLibrary
7272
: public steering_controllers_library::SteeringControllersLibrary
7373
{
7474
FRIEND_TEST(SteeringControllersLibrarySteeringInputTest, check_exported_interfaces);
75-
FRIEND_TEST(SteeringControllersLibrarySteeringInputTest, test_both_update_methods_for_ref_timeout);
75+
FRIEND_TEST(
76+
SteeringControllersLibrarySteeringInputTest, test_both_update_methods_for_ref_timeout);
7677

7778
public:
7879
controller_interface::CallbackReturn on_configure(
@@ -152,7 +153,8 @@ class SteeringControllersSteeringInputLibraryFixture : public ::testing::Test
152153
void TearDown() { controller_.reset(nullptr); }
153154

154155
protected:
155-
void SetUpController(const std::string controller_name = "test_steering_controllers_steering_input_library")
156+
void SetUpController(
157+
const std::string controller_name = "test_steering_controllers_steering_input_library")
156158
{
157159
ASSERT_EQ(
158160
controller_->init(controller_name, "", 0, "", controller_->define_custom_node_options()),

0 commit comments

Comments
 (0)