code: def test_simple(self):
      check = check_complex_value
      f = np.exp
  
      check(f, 1, 0, np.exp(1), 0, False)
      check(f, 0, 1, np.cos(1), np.sin(1), False)
  
      ref = np.exp(1) * complex(np.cos(1), np.sin(1))
      check(f, 1, 1, ref.real, ref.imag, False)
  
imports: import sys
  import platform
  import pytest
  import numpy
  import numpy.core._multiarray_umath
  from numpy.testing import assert_raises, assert_equal, assert_array_equal, assert_almost_equal, assert_array_max_ulp
label_desc: Use image node_id 1 for calling the TestCexp obj's underlying member method code with example usage: obj.test_simple() without return types