Skip to content

Commit

Permalink
remove aliases from unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy committed Sep 24, 2024
1 parent f7b9489 commit 040823e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Sofa/Component/Engine/Select/tests/MeshROI_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct MeshROI_test : public BaseSimulationTest,
"<Node name='Root' gravity='0 0 0' time='0' animate='0' > "
" <Node name='node'> "
" <MeshOBJLoader name='loader' filename='mesh/cube.obj'/> "
" <Mesh name='topology' src='@loader'/> "
" <MeshTopology name='topology' src='@loader'/> "
" <MeshROI template='Vec3d' name='MeshROI'/> "
" </Node> "
"</Node> " ;
Expand Down Expand Up @@ -136,7 +136,7 @@ struct MeshROI_test : public BaseSimulationTest,
"<Node name='Root' gravity='0 0 0' time='0' animate='0' > "
" <Node name='node'> "
" <MeshOBJLoader name='loader' filename='mesh/dragon.obj'/> "
" <Mesh name='topology' src='@loader'/> "
" <MeshTopology name='topology' src='@loader'/> "
" <MeshROI template='Vec3d' name='MeshROI'/> "
" </Node> "
"</Node> " ;
Expand All @@ -157,7 +157,7 @@ struct MeshROI_test : public BaseSimulationTest,
<Node name='Root' gravity='0 0 0' time='0' animate='0' >
<Node name='node'>
<MeshOBJLoader name='loader' filename='mesh/cube.obj'/>
<Mesh name='topology' src='@loader'/>
<MeshTopology name='topology' src='@loader'/>
<MeshROI template='Vec3d' name='MeshROI' position='0. 0. 0. 2. 0. 0.' />
</Node>
</Node>
Expand Down
8 changes: 4 additions & 4 deletions Sofa/Component/Mass/tests/DiagonalMass_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class DiagonalMass_test : public BaseTest
"<?xml version='1.0'?>"
"<Node name='Root' gravity='0 0 0' time='0' animate='0' > "
" <MechanicalObject /> "
" <RegularGrid nx='2' ny='2' nz='2' xmin='0' xmax='2' ymin='0' ymax='2' zmin='0' zmax='2' /> "
" <RegularGridTopology nx='2' ny='2' nz='2' xmin='0' xmax='2' ymin='0' ymax='2' zmin='0' zmax='2' /> "
" <HexahedronSetGeometryAlgorithms /> "
" <DiagonalMass name='m_mass'/> "
"</Node> " ;
Expand Down Expand Up @@ -188,7 +188,7 @@ class DiagonalMass_test : public BaseTest
"<?xml version='1.0'?> "
"<Node name='Root' gravity='0 0 0' time='0' animate='0' > "
" <MechanicalObject /> "
" <RegularGrid nx='2' ny='2' nz='2' xmin='0' xmax='2' ymin='0' ymax='2' zmin='0' zmax='2' /> "
" <RegularGridTopology nx='2' ny='2' nz='2' xmin='0' xmax='2' ymin='0' ymax='2' zmin='0' zmax='2' /> "
" <HexahedronSetGeometryAlgorithms /> "
" <DiagonalMass name='m_mass' massDensity='1.0' /> "
"</Node> " ;
Expand Down Expand Up @@ -219,7 +219,7 @@ class DiagonalMass_test : public BaseTest
"<?xml version='1.0'?> "
"<Node name='Root' gravity='0 0 0' time='0' animate='0' > "
" <MechanicalObject /> "
" <RegularGrid nx='2' ny='2' nz='2' xmin='0' xmax='2' ymin='0' ymax='2' zmin='0' zmax='2' /> "
" <RegularGridTopology nx='2' ny='2' nz='2' xmin='0' xmax='2' ymin='0' ymax='2' zmin='0' zmax='2' /> "
" <HexahedronSetGeometryAlgorithms/> "
" <DiagonalMass name='m_mass' totalMass='10'/> "
"</Node> " ;
Expand Down Expand Up @@ -249,7 +249,7 @@ class DiagonalMass_test : public BaseTest
"<?xml version='1.0'?> "
"<Node name='Root' gravity='0 0 0' time='0' animate='0' > "
" <MechanicalObject /> "
" <RegularGrid nx='2' ny='2' nz='2' xmin='0' xmax='2' ymin='0' ymax='2' zmin='0' zmax='2' /> "
" <RegularGridTopology nx='2' ny='2' nz='2' xmin='0' xmax='2' ymin='0' ymax='2' zmin='0' zmax='2' /> "
" <HexahedronSetGeometryAlgorithms /> "
" <DiagonalMass name='m_mass' massDensity='1.0' totalMass='10'/> "
"</Node> " ;
Expand Down

0 comments on commit 040823e

Please sign in to comment.