Skip to content

Commit 6da7fa3

Browse files
committed
remove unused variable and rename rk4 test
1 parent 2e42704 commit 6da7fa3

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

test/test_integrator.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#include <ergodic_exploration/models/omni.hpp>
4242
#include <ergodic_exploration/integrator.hpp>
4343

44-
TEST(RungeKuttaTest, Simulate)
44+
TEST(IntegratorTest, RungeKutta)
4545
{
4646
const ergodic_exploration::models::Cart cart(0.1, 2.0);
4747
const auto horizon = 0.4;
@@ -72,9 +72,8 @@ TEST(RungeKuttaTest, Simulate)
7272
ASSERT_DOUBLE_EQ(xt(2, 3), 0.0);
7373
}
7474

75-
TEST(IntegrateTwistTest, OmniPoseChange)
75+
TEST(IntegratorTest, OmniPoseChange)
7676
{
77-
const auto horizon = 1.0;
7877
const auto dt = 0.1;
7978
const arma::vec vb = { 1.0, 0.5, 0.5 };
8079
const arma::vec x0(3, arma::fill::zeros);
@@ -93,7 +92,7 @@ TEST(IntegrateTwistTest, OmniPoseChange)
9392
ASSERT_NEAR(pose(2), 0.0500, 1e-4);
9493
}
9594

96-
TEST(IntegrateTwistTest, OmniTrajectory)
95+
TEST(IntegratorTest, OmniTrajectory)
9796
{
9897
const auto horizon = 0.5;
9998
const auto dt = 0.1;

0 commit comments

Comments
 (0)