Skip to content

Commit

Permalink
remove unused variable and rename rk4 test
Browse files Browse the repository at this point in the history
  • Loading branch information
bostoncleek committed Dec 26, 2020
1 parent 2e42704 commit 6da7fa3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/test_integrator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <ergodic_exploration/models/omni.hpp>
#include <ergodic_exploration/integrator.hpp>

TEST(RungeKuttaTest, Simulate)
TEST(IntegratorTest, RungeKutta)
{
const ergodic_exploration::models::Cart cart(0.1, 2.0);
const auto horizon = 0.4;
Expand Down Expand Up @@ -72,9 +72,8 @@ TEST(RungeKuttaTest, Simulate)
ASSERT_DOUBLE_EQ(xt(2, 3), 0.0);
}

TEST(IntegrateTwistTest, OmniPoseChange)
TEST(IntegratorTest, OmniPoseChange)
{
const auto horizon = 1.0;
const auto dt = 0.1;
const arma::vec vb = { 1.0, 0.5, 0.5 };
const arma::vec x0(3, arma::fill::zeros);
Expand All @@ -93,7 +92,7 @@ TEST(IntegrateTwistTest, OmniPoseChange)
ASSERT_NEAR(pose(2), 0.0500, 1e-4);
}

TEST(IntegrateTwistTest, OmniTrajectory)
TEST(IntegratorTest, OmniTrajectory)
{
const auto horizon = 0.5;
const auto dt = 0.1;
Expand Down

0 comments on commit 6da7fa3

Please sign in to comment.