code: def test_decimals(self):
      # check that Decimal instances that have different representations
      # but equal values give the same hash
      zeros = ["0", "-0", "0.0", "-0.0e10", "000e-10"]
      for zero in zeros:
          self.check_equal_hash(D(zero), D(0))
  
      self.check_equal_hash(D("1.00"), D(1))
      self.check_equal_hash(D("1.00000"), D(1))
      self.check_equal_hash(D("-1.00"), D(-1))
      self.check_equal_hash(D("-1.00000"), D(-1))
      self.check_equal_hash(D("123e2"), D(12300))
      self.check_equal_hash(D("1230e1"), D(12300))
      self.check_equal_hash(D("12300"), D(12300))
      self.check_equal_hash(D("12300.0"), D(12300))
      self.check_equal_hash(D("12300.00"), D(12300))
      self.check_equal_hash(D("12300.000"), D(12300))
  
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 6 for calling the HashTest obj's underlying member method code with example usage: obj.test_decimals() without return types