@@ -99,16 +99,20 @@ def test_kwarg_search(module, prefix):
9999@pytest .mark .parametrize (
100100 "function, nsssys, ntfsys, moreargs, kwargs" ,
101101 [(control .append , 2 , 0 , (), {}),
102+ (control .care , 0 , 0 , ([[- 1 ]], [[1 ]], [[1 ]], [[1 ]]), {'method' : 'scipy' }),
102103 (control .combine_tf , 0 , 0 , ([[1 , 0 ], [0 , 1 ]], ), {}),
104+ (control .dare , 0 , 0 , ([[0.5 ]], [[1 ]], [[1 ]], [[1 ]]), {'method' : 'scipy' }),
103105 (control .dlqe , 1 , 0 , ([[1 ]], [[1 ]]), {}),
104106 (control .dlqr , 1 , 0 , ([[1 , 0 ], [0 , 1 ]], [[1 ]]), {}),
107+ (control .dlyap , 0 , 0 , ([[0.5 ]], [[1 ]]), {'method' : 'scipy' }),
105108 (control .drss , 0 , 0 , (2 , 1 , 1 ), {}),
106109 (control .feedback , 2 , 0 , (), {}),
107110 (control .flatsys .flatsys , 1 , 0 , (), {}),
108111 (control .input_output_response , 1 , 0 , ([0 , 1 , 2 ], [1 , 1 , 1 ]), {}),
109112 (control .lqe , 1 , 0 , ([[1 ]], [[1 ]]), {}),
110113 (control .lqr , 1 , 0 , ([[1 , 0 ], [0 , 1 ]], [[1 ]]), {}),
111114 (control .linearize , 1 , 0 , (0 , 0 ), {}),
115+ (control .lyap , 0 , 0 , ([[- 1 ]], [[1 ]]), {'method' : 'scipy' }),
112116 (control .negate , 1 , 0 , (), {}),
113117 (control .nlsys , 0 , 0 , (lambda t , x , u , params : np .array ([0 ]),), {}),
114118 (control .parallel , 2 , 0 , (), {}),
@@ -250,14 +254,17 @@ def test_response_plot_kwargs(data_fcn, plot_fcn, mimo):
250254 'bode' : test_response_plot_kwargs ,
251255 'bode_plot' : test_response_plot_kwargs ,
252256 'LTI.bode_plot' : test_response_plot_kwargs , # tested via bode_plot
257+ 'care' : test_unrecognized_kwargs ,
253258 'combine_tf' : test_unrecognized_kwargs ,
254259 'create_estimator_iosystem' : stochsys_test .test_estimator_errors ,
255260 'create_statefbk_iosystem' : statefbk_test .TestStatefbk .test_statefbk_errors ,
261+ 'dare' : test_unrecognized_kwargs ,
256262 'describing_function_plot' : test_matplotlib_kwargs ,
257263 'describing_function_response' :
258264 descfcn_test .test_describing_function_exceptions ,
259265 'dlqe' : test_unrecognized_kwargs ,
260266 'dlqr' : test_unrecognized_kwargs ,
267+ 'dlyap' : test_unrecognized_kwargs ,
261268 'drss' : test_unrecognized_kwargs ,
262269 'feedback' : test_unrecognized_kwargs ,
263270 'find_eqpt' : iosys_test .test_find_operating_point ,
@@ -275,6 +282,7 @@ def test_response_plot_kwargs(data_fcn, plot_fcn, mimo):
275282 'linearize' : test_unrecognized_kwargs ,
276283 'lqe' : test_unrecognized_kwargs ,
277284 'lqr' : test_unrecognized_kwargs ,
285+ 'lyap' : test_unrecognized_kwargs ,
278286 'LTI.forced_response' : statesp_test .test_convenience_aliases ,
279287 'LTI.impulse_response' : statesp_test .test_convenience_aliases ,
280288 'LTI.initial_response' : statesp_test .test_convenience_aliases ,
0 commit comments