docstr: For one lowpass, bandpass, and highpass example filter, this test
  checks two things:
    - the mean squared error over the frequency domain of the unscaled
      filter is smaller than the scaled filter (true for rectangular
      window)
    - the response of the scaled filter is exactly unity at the center
      of the first passband
docstr_tok: ["For","one","lowpass",",","bandpass",",","and","highpass","example","filter",",","this","test","checks","two","things",":","-","the","mean","squared","error","over","the","frequency","domain","of","the","unscaled","filter","is","smaller","than","the","scaled","filter","(","true","for","rectangular","window",")","-","the","response","of","the","scaled","filter","is","exactly","unity","at","the","center","of","the","first","passband"]
code: def test_scaling(self, xp, scp, case):
      """
      For one lowpass, bandpass, and highpass example filter, this test
      checks two things:
        - the mean squared error over the frequency domain of the unscaled
          filter is smaller than the scaled filter (true for rectangular
          window)
        - the response of the scaled filter is exactly unity at the center
          of the first passband
      """
      N = 11
      cutoff, pass_zero, expected_responce = case
      fw = scp.signal.firwin
      h = fw(N, cutoff, scale=False, pass_zero=pass_zero, window="ones")
      hs = fw(N, cutoff, scale=True, pass_zero=pass_zero, window="ones")
      return h, hs
  
imports: import cupy
  import cupyx.scipy.signal
  from cupy import testing
  import pytest
  from pytest import raises
label_desc: Use image node_id 2 for calling the TestFirwin obj's underlying member method code with example usage: obj.test_scaling(xp, scp, case) and returns: h,  hs