Skip to content

Commit

Permalink
Merge pull request ros-controls#25 from ros-controls/fix-tests
Browse files Browse the repository at this point in the history
Remove broken test code. Hotfix for ros-controls#18.
  • Loading branch information
Adolfo Rodriguez Tsouroukdissian committed Jun 12, 2014
2 parents 717503c + f127f1f commit fdcb522
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/pid_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,23 +162,8 @@ TEST(ParameterTest, gainSettingCopyPIDTest)
EXPECT_EQ(0.0, pe2);
EXPECT_EQ(0.0, ie2);
EXPECT_EQ(0.0, de2);

// Test return values using struct - const version -------------------------------------------------

const Pid pid4(pid3);

Pid::Gains g3 = pid4.getGains();
EXPECT_EQ(p_gain, g3.p_gain_);
EXPECT_EQ(i_gain, g3.i_gain_);
EXPECT_EQ(d_gain, g3.d_gain_);
EXPECT_EQ(i_max, g3.i_max_);
EXPECT_EQ(i_min, g3.i_min_);


}



int main(int argc, char** argv) {
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
Expand Down

0 comments on commit fdcb522

Please sign in to comment.