We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 292ccec commit 9c1d0c9Copy full SHA for 9c1d0c9
bindings/Sofa/tests/Core/BaseData.py
@@ -292,6 +292,11 @@ def t(c):
292
self.assertEqual(wa[2, 2], 8.0)
293
numpy.testing.assert_array_equal(wa, v*4.0)
294
295
+ def test_linkpath(self):
296
+ n = create_scene("rootNode")
297
+ m = n. addObject("MechanicalObject", name="dofs")
298
+ self.assertEqual(m.position.linkpath, "@/dofs.position")
299
+
300
def test_set_value_from_string(self):
301
n = create_scene("rootNode")
302
n.gravity.value = [1.0,2.0,3.0]
0 commit comments