code: def test_mixed_comparisons(self):
      # ordered list of distinct test values of various types:
      # int, float, Fraction, Decimal
      test_values = [
          float("-inf"),
          D("-1e425000000"),
          -1e308,
          F(-22, 7),
          -3.14,
          -2,
          0.0,
          1e-320,
          True,
          F("1.2"),
          D("1.3"),
          float("1.4"),
          F(275807, 195025),
          D("1.414213562373095048801688724"),
          F(114243, 80782),
          F(473596569, 84615),
          7e200,
          D("infinity"),
      ]
      for i, first in enumerate(test_values):
          for second in test_values[i + 1 :]:
              self.assertLess(first, second)
              self.assertLessEqual(first, second)
              self.assertGreater(second, first)
              self.assertGreaterEqual(second, first)
  
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 1 for calling the ComparisonTest obj's underlying member method code with example usage: obj.test_mixed_comparisons() without return types