class_docstr: Test equality and ordering comparisons for built-in types and
  user-defined classes that implement relevant combinations of rich
  comparison methods.
class_docstr_tok: ["Test","equality","and","ordering","comparisons","for","built-in","types","and","user-defined","classes","that","implement","relevant","combinations","of","rich","comparison","methods","."]
docstr: Compare list, tuple, and range.
docstr_tok: ["Compare","list",",","tuple",",","and","range","."]
code: def test_sequences(self):
      """Compare list, tuple, and range."""
      l1 = [1, 2]
      l2 = [2, 3]
      self.assert_total_order(l1, l1, 0)
      self.assert_total_order(l1, l2, -1)
  
      t1 = (1, 2)
      t2 = (2, 3)
      self.assert_total_order(t1, t1, 0)
      self.assert_total_order(t1, t2, -1)
  
      r1 = range(1, 2)
      r2 = range(2, 2)
      self.assert_equality_only(r1, r1, True)
      self.assert_equality_only(r1, r2, False)
  
      self.assert_equality_only(t1, l1, False)
      self.assert_equality_only(l1, r1, False)
      self.assert_equality_only(r1, t1, False)
  
imports: import unittest
  from test.support import ALWAYS_EQ
  from fractions import Fraction
  from decimal import Decimal
label_desc: Use image node_id 15 for calling the ComparisonFullTest obj's underlying member method code with example usage: obj.test_sequences() without return types