code: def test_zerospolesgain(self, xp, scp):
      zeros_c = xp.array([0.5, -0.5])
      poles_c = xp.array([1.0j / math.sqrt(2), -1.0j / math.sqrt(2)])
      k_c = 1.0
      dt_requested = 0.5
  
      c2d = scp.signal.cont2discrete
      zeros, poles, k, dt = c2d(
          (zeros_c, poles_c, k_c), dt_requested, method="zoh"
      )
      return zeros, poles, k, dt
  
imports: import math
  import cupyx.scipy.signal
  import pytest
  from cupy import testing
label_desc: Use image node_id 9 for calling the TestC2D obj's underlying member method code with example usage: obj.test_zerospolesgain(xp, scp) and returns: zeros,  poles,  k,  dt