class_docstr: Tests for CircularFingerprint.
class_docstr_tok: ["Tests","for","CircularFingerprint","."]
docstr: Test CircularFingerprint with sparse encoding and SMILES for each
  fragment.
docstr_tok: ["Test","CircularFingerprint","with","sparse","encoding","and","SMILES","for","each","fragment","."]
code: def test_sparse_circular_fingerprints_with_smiles(self):
      """
      Test CircularFingerprint with sparse encoding and SMILES for each
      fragment.
      """
      featurizer = CircularFingerprint(sparse=True, smiles=True)
      rval = featurizer([self.mol])
      assert rval.shape == (1,)
      assert isinstance(rval[0], dict)
      assert len(rval[0])
  
      # check for separate count and SMILES entries for each fragment
      for fragment_id, value in rval[0].items():
          assert "count" in value
          assert "smiles" in value
  
file_path: deepchem/deepchem/feat/tests/test_circular_fingerprints.py
imports: import unittest
  from deepchem.feat import CircularFingerprint
  import numpy
label_desc: Use image node_id 6 for calling the TestCircularFingerprint obj's underlying member method code with example usage: obj.test_sparse_circular_fingerprints_with_smiles() without return types