code: def test_complex(self):
      # complex numbers with zero imaginary part should hash equal to
      # the corresponding float
  
      test_values = [
          0.0,
          -0.0,
          1.0,
          -1.0,
          0.40625,
          -5136.5,
          float("inf"),
          float("-inf"),
      ]
  
      for zero in -0.0, 0.0:
          for value in test_values:
              self.check_equal_hash(value, complex(value, zero))
  
imports: import unittest
  import random
  import math
  import sys
  import operator
  from decimal import Decimal
  from fractions import Fraction
label_desc: Use image node_id 5 for calling the HashTest obj's underlying member method code with example usage: obj.test_complex() without return types