8000 Remove test case. · python-control/python-control@a17e3c8 · GitHub
[go: up one dir, main page]

Skip to content

Commit a17e3c8

Browse files
committed
Remove test case.
1 parent 4792163 commit a17e3c8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

control/tests/passivity_test.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,11 @@ def test_system_dimension():
100100

101101
@pytest.mark.parametrize(
102102
"system_matrices, expected",
103-
[((A, B, C, D*1e-8), True),
103+
[((A, B, C, D*0), True),
104104
((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)])
105+
((A, B*0, C*0, D), True),
106+
((A*0, B, C, D), True),
107+
((A*0, B*0, C*0, D*0), True)])
109108
def test_ispassive_edge_cases(system_matrices, expected):
110109
sys = ss(*system_matrices)
111110
assert passivity.ispassive(sys) == expected

0 commit comments

Comments
 (0)
0