Skip to content

Commit 9500543

Browse files
committed
another fixup try
1 parent d54ee99 commit 9500543

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

control/tests/freqresp_test.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,20 @@ def discrete_data():
179179
return {'argvalues': systems.values(), 'ids': systems.keys()}
180180

181181

182-
@pytest.mark.parametrize("sys", **discrete_data())
182+
rsys = rss(3, 1, 1)
183+
184+
185+
@pytest.mark.parametrize(
186+
"sys",
187+
[sys for dt in [0.1, True] for sys in
188+
[StateSpace(rsys.A, rsys.B, rsys.C, rsys.D, dt),
189+
StateSpace([[-3., 4., 2.], [-1., -3., 0.], [2., 5., 3.]],
190+
[[1., 4.], [-3., -3.], [-2., 1.]],
191+
[[4., 2., -3.], [1., 4., 3.]],
192+
[[-2., 4.], [0., 1.]], dt),
193+
TransferFunction([1, 1], [1, 2, 1], dt)]
194+
]
195+
)
183196
@mplcleanup
184197
def test_discrete(sys):
185198
"""Test discrete time frequency response"""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy