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 43d1449 commit 9d33992Copy full SHA for 9d33992
tests/test_ModelicaSystem.py
@@ -35,8 +35,8 @@ def test_setParameters():
35
mod = OMPython.ModelicaSystem(model_path + "BouncingBall.mo", "BouncingBall")
36
37
# method 1 (test depreciated variants)
38
- mod.setParameters("e=1.234")
39
- mod.setParameters(["g=321.0"])
+ mod.setParameters(e=1.234)
+ mod.setParameters(g=321.0)
40
assert mod.getParameters("e") == ["1.234"]
41
assert mod.getParameters("g") == ["321.0"]
42
assert mod.getParameters() == {
0 commit comments