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 set and frozenset.
docstr_tok: ["Compare","set","and","frozenset","."]
code: def test_sets(self):
      """Compare set and frozenset."""
      s1 = {1, 2}
      s2 = {1, 2, 3}
      self.assert_total_order(s1, s1, 0)
      self.assert_total_order(s1, s2, -1)
  
      f1 = frozenset(s1)
      f2 = frozenset(s2)
      self.assert_total_order(f1, f1, 0)
      self.assert_total_order(f1, f2, -1)
  
      self.assert_total_order(s1, f1, 0)
      self.assert_total_order(s1, f2, -1)
      self.assert_total_order(f1, s1, 0)
      self.assert_total_order(f1, s2, -1)
  
imports: import unittest
  from test.support import ALWAYS_EQ
  from fractions import Fraction
  from decimal import Decimal
label_desc: Use image node_id 17 for calling the ComparisonFullTest obj's underlying member method code with example usage: obj.test_sets() without return types