code: def test_initials(self):
      assert initials("deduplicate", 1) == {"d"}
      assert initials("deduplicate", 2) == {"de"}
      assert initials("deduplicate", 3) == {"ded"}
      assert initials("deduplicate", 4) == {"dedu"}
      assert initials("deduplicate", 5) == {"dedup"}
      assert initials("deduplicate", 6) == {"dedupl"}
      assert initials("deduplicate", 7) == {"dedupli"}
      assert initials("deduplicate", 8) == {"deduplic"}
      assert initials("deduplicate", 9) == {"deduplica"}
      assert initials("deduplicate", 10) == {"deduplicat"}
      assert initials("deduplicate", 11) == {"deduplicate"}
      assert initials("deduplicate", 12) == {"deduplicate"}
      assert initials("deduplicate", 100) == {"deduplicate"}
  
imports: import unittest
  from dedupe.cpredicates import initials, ngrams, unique_ngrams
label_desc: Use image node_id 3 for calling the TestCPredicates obj's underlying member method code with example usage: obj.test_initials() without return types