Skip to content

Commit e29ba64

Browse files
committed
Add assertion to check result of markov call
1 parent 51eb00a commit e29ba64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

control/tests/modelsimp_test.py

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def testMarkovSignature(self):
123123
inp = np.array([1, 2])
124124
outp = np.array([2, 4])
125125
mrk = markov(outp, inp, 1, transpose=False)
126+
np.testing.assert_almost_equal(mrk, 2.)
126127

127128
# Test mimo example
128129
# Mechanical Vibrations: Theory and Application, SI Edition, 1st ed.

0 commit comments

Comments
 (0)