code: def test_mls_inputs(self):
      # can't all be zero state
      assert_raises(ValueError, max_len_seq, 10, state=np.zeros(10))
      # wrong size state
      assert_raises(ValueError, max_len_seq, 10, state=np.ones(3))
      # wrong length
      assert_raises(ValueError, max_len_seq, 10, length=-1)
      assert_array_equal(max_len_seq(10, length=0)[0], [])
      # unknown taps
      assert_raises(ValueError, max_len_seq, 64)
      # bad taps
      assert_raises(ValueError, max_len_seq, 10, taps=[-1, 1])
  
file_path: scipy/scipy/signal/tests/test_max_len_seq.py
imports: import numpy
  from numpy.testing import assert_allclose, assert_array_equal
  from pytest import raises
  from numpy.fft import fft, ifft
  from scipy.signal import max_len_seq
label_desc: Use image node_id 1 for calling the TestMLS obj's underlying member method code with example usage: obj.test_mls_inputs() without return types