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 4792163 commit a17e3c8Copy full SHA for a17e3c8
1 file changed
control/tests/passivity_test.py
@@ -100,12 +100,11 @@ def test_system_dimension():
100
101
@pytest.mark.parametrize(
102
"system_matrices, expected",
103
- [((A, B, C, D*1e-8), True),
+ [((A, B, C, D*0), True),
104
((A_d, B, C, D), True),
105
- pytest.param((A*1e8, B, C, D*1e-8), True),
106
- ((A, B*1e-8, C*1e-8, D), True),
107
- ((A*1e-8, B, C, D), True),
108
- ((A*1e-8, B*1e-8, C*1e-8, D*1e-8), True)])
+ ((A, B*0, C*0, D), True),
+ ((A*0, B, C, D), True),
+ ((A*0, B*0, C*0, D*0), True)])
109
def test_ispassive_edge_cases(system_matrices, expected):
110
sys = ss(*system_matrices)
111
assert passivity.ispassive(sys) == expected
0 commit comments