Esempio n. 1
0
 def test_dcgain(self):
     sys = tf(84, [1, 2])
     np.testing.assert_allclose(sys.dcgain(), 42)
     np.testing.assert_allclose(dcgain(sys), 42)
Esempio n. 2
0
 def test_dcgain(self):
     sys = tf(84, [1, 2])
     np.testing.assert_equal(sys.dcgain(), 42)
     np.testing.assert_equal(dcgain(sys), 42)