From 10c0e1bc7ddf87e1d57e254e5377e687d5d59e64 Mon Sep 17 00:00:00 2001 From: Alex Bilger Date: Mon, 21 Oct 2024 12:03:57 +0200 Subject: [PATCH] Fix unit tests --- tests/component/constraint/YoungModulusActuatorTest.cpp | 2 ++ tests/component/solver/scenes/Finger.scn | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/component/constraint/YoungModulusActuatorTest.cpp b/tests/component/constraint/YoungModulusActuatorTest.cpp index 5866bdd..44bf1aa 100644 --- a/tests/component/constraint/YoungModulusActuatorTest.cpp +++ b/tests/component/constraint/YoungModulusActuatorTest.cpp @@ -1,4 +1,5 @@ #include +#include using std::string ; #include using sofa::testing::BaseTest ; @@ -43,6 +44,7 @@ struct YoungModulusActuatorTest : public BaseTest, typedef YoungModulusActuator<_DataTypes> ThisClass ; void simpleScene(){ + sofa::simpleapi::importPlugin("Sofa.Component.SolidMechanics.FEM.Elastic"); string scene = "" " " diff --git a/tests/component/solver/scenes/Finger.scn b/tests/component/solver/scenes/Finger.scn index 9bfdb2c..e4a20f4 100644 --- a/tests/component/solver/scenes/Finger.scn +++ b/tests/component/solver/scenes/Finger.scn @@ -20,10 +20,10 @@ - + - +