diff --git a/wpimath/src/test/native/cpp/system/NumericalIntegrationTest.cpp b/wpimath/src/test/native/cpp/system/NumericalIntegrationTest.cpp index 4622a881372..e8ba2ddc8f3 100644 --- a/wpimath/src/test/native/cpp/system/NumericalIntegrationTest.cpp +++ b/wpimath/src/test/native/cpp/system/NumericalIntegrationTest.cpp @@ -53,8 +53,9 @@ TEST(NumericalIntegrationTest, RK4TimeVarying) { 1e-3); } -// Tests that integrating dx/dt = 0 works with RKDP WPI_IGNORE_DEPRECATED + +// Tests that integrating dx/dt = 0 works with RKDP TEST(NumericalIntegrationTest, ZeroRKDP) { frc::Vectord<1> y1 = frc::RKDP( [](const frc::Vectord<1>& x, const frc::Vectord<1>& u) { @@ -65,7 +66,6 @@ TEST(NumericalIntegrationTest, ZeroRKDP) { } // Tests that integrating dx/dt = eˣ works with RKDP -WPI_IGNORE_DEPRECATED TEST(NumericalIntegrationTest, ExponentialRKDP) { frc::Vectord<1> y0{0.0}; @@ -85,7 +85,6 @@ TEST(NumericalIntegrationTest, ExponentialRKDP) { // The true (analytical) solution is: // // x(t) = 12eᵗ/(eᵗ + 1)² -WPI_IGNORE_DEPRECATED TEST(NumericalIntegrationTest, RKDPTimeVarying) { frc::Vectord<1> y0{12.0 * std::exp(5.0) / std::pow(std::exp(5.0) + 1.0, 2.0)}; @@ -99,6 +98,8 @@ TEST(NumericalIntegrationTest, RKDPTimeVarying) { 1e-3); } +WPI_UNIGNORE_DEPRECATED + // Tests that integrating dx/dt = 0 works with Tsit5 TEST(NumericalIntegrationTest, ZeroTsit5) { frc::Vectord<1> y1 = frc::Tsit5(