code: def test_compare(self):
      # test comparison to MATLAB
      k = [
          0.024590270518440,
          -0.041314581814658,
          -0.075943803756711,
          -0.003530911231040,
          0.193140296954975,
          0.373400753484939,
          0.373400753484939,
          0.193140296954975,
          -0.003530911231040,
          -0.075943803756711,
          -0.041314581814658,
          0.024590270518440,
      ]
      h = remez(12, [0, 0.3, 0.5, 1], [1, 0], Hz=2.0)
      assert_allclose(h, k)
      h = remez(12, [0, 0.3, 0.5, 1], [1, 0], fs=2.0)
      assert_allclose(h, k)
  
      h = [
          -0.038976016082299,
          0.018704846485491,
          -0.014644062687875,
          0.002879152556419,
          0.016849978528150,
          -0.043276706138248,
          0.073641298245579,
          -0.103908158578635,
          0.129770906801075,
          -0.147163447297124,
          0.153302248456347,
          -0.147163447297124,
          0.129770906801075,
          -0.103908158578635,
          0.073641298245579,
          -0.043276706138248,
          0.016849978528150,
          0.002879152556419,
          -0.014644062687875,
          0.018704846485491,
          -0.038976016082299,
      ]
      assert_allclose(remez(21, [0, 0.8, 0.9, 1], [0, 1], Hz=2.0), h)
      assert_allclose(remez(21, [0, 0.8, 0.9, 1], [0, 1], fs=2.0), h)
  
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_array_almost_equal, assert_equal, assert_, assert_allclose, assert_warns
  from pytest import raises
  import pytest
  from scipy.fft import fft
  from scipy.special import sinc
  from scipy.signal import kaiser_beta, kaiser_atten, kaiserord, firwin, firwin2, freqz, remez, firls, minimum_phase
label_desc: Use image node_id 3 for calling the TestRemez obj's underlying member method code with example usage: obj.test_compare() without return types