Skip to content

Commit

Permalink
Remove unused variables in cpp unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
chauser committed Mar 28, 2024
1 parent 4c6982d commit b10c45b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions wpimath/src/test/native/cpp/controller/PIDParameterTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@

#include "frc/controller/PIDController.h"

static constexpr double kSetpoint = 50.0;
static constexpr double kRange = 200;
static constexpr double kTolerance = 10.0;

TEST(PIDParameterTest, Constructor) {
frc::PIDController controllerOk{0.1, 0.1, 0.1};
EXPECT_TRUE(controllerOk.GetP()==0.1 && controllerOk.GetI()==0.1 && controllerOk.GetD()==0.1);
Expand Down

0 comments on commit b10c45b

Please sign in to comment.