Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unit tests #43

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/component/constraint/YoungModulusActuatorTest.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <string>
#include <sofa/simpleapi/SimpleApi.h>
using std::string ;
#include <sofa/testing/BaseTest.h>
using sofa::testing::BaseTest ;
Expand Down Expand Up @@ -43,6 +44,7 @@ struct YoungModulusActuatorTest : public BaseTest,
typedef YoungModulusActuator<_DataTypes> ThisClass ;

void simpleScene(){
sofa::simpleapi::importPlugin("Sofa.Component.SolidMechanics.FEM.Elastic");
string scene =
"<?xml version='1.0'?>"
"<Node name='Root' gravity='0 0 0' time='0' animate='0' > "
Expand Down
4 changes: 2 additions & 2 deletions tests/component/solver/scenes/Finger.scn
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
<!--<RequiredPlugin name="SoftRobots.Inverse"/> Needed to use components [PositionEffector] -->

<FreeMotionAnimationLoop/>
<DefaultPipeline />
<CollisionPipeline />
<BruteForceBroadPhase />
<BVHNarrowPhase />
<DefaultContactManager response='FrictionContactConstraint'/>
<CollisionResponse response='FrictionContactConstraint'/>
<LocalMinDistance name="Proximity" alarmDistance='3' contactDistance='0.5'/>
<QPInverseProblemSolver name="QPInverseProblemSolver"/>

Expand Down
Loading