From b10c45b92103d30729c801bd4ae1c2e044db61a9 Mon Sep 17 00:00:00 2001 From: Carl Hauser Date: Thu, 28 Mar 2024 14:14:44 -0700 Subject: [PATCH] Remove unused variables in cpp unit test --- wpimath/src/test/native/cpp/controller/PIDParameterTest.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wpimath/src/test/native/cpp/controller/PIDParameterTest.cpp b/wpimath/src/test/native/cpp/controller/PIDParameterTest.cpp index 4e02e77a847..4fa978509e9 100644 --- a/wpimath/src/test/native/cpp/controller/PIDParameterTest.cpp +++ b/wpimath/src/test/native/cpp/controller/PIDParameterTest.cpp @@ -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);