Skip to content

Commit

Permalink
Fix some other stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl committed Jan 15, 2024
1 parent 30a4095 commit be7838a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,21 +367,21 @@ TEST_F(
EXPECT_EQ(claimed_actuator_position_state_->get_value(), 0.0);

// When TestActuatorHardware is INACTIVE expect OK
EXPECT_FALSE(rm_->prepare_command_mode_switch(legal_keys_actuator, legal_keys_actuator));
EXPECT_TRUE(rm_->prepare_command_mode_switch(legal_keys_actuator, legal_keys_actuator));
EXPECT_EQ(claimed_system_acceleration_state_->get_value(), 0.0);
EXPECT_EQ(claimed_actuator_position_state_->get_value(), 0.0);
EXPECT_TRUE(rm_->perform_command_mode_switch(legal_keys_actuator, legal_keys_actuator));
EXPECT_EQ(claimed_system_acceleration_state_->get_value(), 0.0);
EXPECT_EQ(claimed_actuator_position_state_->get_value(), 0.0);

EXPECT_FALSE(rm_->prepare_command_mode_switch(legal_keys_actuator, empty_keys));
EXPECT_TRUE(rm_->prepare_command_mode_switch(legal_keys_actuator, empty_keys));
EXPECT_EQ(claimed_system_acceleration_state_->get_value(), 0.0);
EXPECT_EQ(claimed_actuator_position_state_->get_value(), 0.0);
EXPECT_TRUE(rm_->perform_command_mode_switch(legal_keys_actuator, empty_keys));
EXPECT_EQ(claimed_system_acceleration_state_->get_value(), 0.0);
EXPECT_EQ(claimed_actuator_position_state_->get_value(), 0.0);

EXPECT_FALSE(rm_->prepare_command_mode_switch(empty_keys, legal_keys_actuator));
EXPECT_TRUE(rm_->prepare_command_mode_switch(empty_keys, legal_keys_actuator));
EXPECT_EQ(claimed_system_acceleration_state_->get_value(), 0.0);
EXPECT_EQ(claimed_actuator_position_state_->get_value(), 0.0);
EXPECT_TRUE(rm_->perform_command_mode_switch(empty_keys, legal_keys_actuator));
Expand Down

0 comments on commit be7838a

Please sign in to comment.