code: def test_magnitude_of_cardinality(self):
      assert fn.magnitudeOfCardinality(range(0)) == frozenset()
      assert fn.magnitudeOfCardinality(range(98)) == {"2"}
      assert fn.magnitudeOfCardinality(range(100)) == {"2"}
      assert fn.magnitudeOfCardinality(range(10**6)) == {"6"}
  
imports: import unittest
  from dedupe import predicate_functions
  from dedupe.cpredicates import ngrams
label_desc: Use image node_id 26 for calling the TestPredicateFunctions obj's underlying member method code with example usage: obj.test_magnitude_of_cardinality() without return types