8000
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 4107950 commit eadd496Copy full SHA for eadd496
control/tests/rlocus_test.py
@@ -54,6 +54,12 @@ def testRootLocus(self, sys):
54
np.testing.assert_allclose(klist, k_out)
55
self.check_cl_poles(sys, roots, klist)
56
57
+ # now check with plotting
58
+ roots, k_out = root_locus(sys, klist)
59
+ np.testing.assert_equal(len(roots), len(klist))
60
+ np.testing.assert_allclose(klist, k_out)
61
+ self.check_cl_poles(sys, roots, klist)
62
+
63
def test_without_gains(self, sys):
64
roots, kvect = root_locus(sys, plot=False)
65
self.check_cl_poles(sys, roots, kvect)
0 commit comments