diff --git a/test/plugin/elasticity/elasticity_test.cc b/test/plugin/elasticity/elasticity_test.cc index 614026f4..e30add97 100644 --- a/test/plugin/elasticity/elasticity_test.cc +++ b/test/plugin/elasticity/elasticity_test.cc @@ -28,9 +28,10 @@ namespace mujoco { namespace { +using ElasticityTest = PluginTest; // -------------------------------- shell ----------------------------------- -TEST_F(PluginTest, ElasticEnergyShell) { +TEST_F(ElasticityTest, ElasticEnergyShell) { static constexpr char cantilever_xml[] = R"( @@ -84,7 +85,7 @@ TEST_F(PluginTest, ElasticEnergyShell) { } // -------------------------------- solid ----------------------------------- -TEST_F(PluginTest, ElasticEnergySolid) { +TEST_F(ElasticityTest, ElasticEnergySolid) { static constexpr char cantilever_xml[] = R"( @@ -136,7 +137,7 @@ TEST_F(PluginTest, ElasticEnergySolid) { // -------------------------------- cable ----------------------------------- -TEST_F(PluginTest, CantileverIntoCircle) { +TEST_F(ElasticityTest, CantileverIntoCircle) { static constexpr char cantilever_xml[] = R"(