Skip to content

Commit b7945f3

Browse files
committed
added missing unit test
1 parent 114bce6 commit b7945f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

control/tests/statesp_test.py

+1
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ def test_is_static_gain(self):
395395
D0 = 0
396396
D1 = np.ones((2,1))
397397
assert StateSpace(A0, B0, C1, D1).is_static_gain()
398+
assert not StateSpace(A1, B0, C1, D1).is_static_gain()
398399
assert not StateSpace(A0, B1, C1, D1).is_static_gain()
399400
assert not StateSpace(A1, B1, C1, D1).is_static_gain()
400401
assert StateSpace(A0, B0, C0, D0).is_static_gain()

0 commit comments

Comments
 (0)