class_docstr: Test RdkitGridFeaturizer class defined in rdkit_grid_featurizer module.
code: def test_rotations(self):
      featurizer = RdkitGridFeaturizer(
          nb_rotations=3,
          box_width=75.0,
          voxel_width=1.0,
          feature_types=["voxel_combined"],
          flatten=False,
          sanitize=True,
      )
      feature_tensors = featurizer.featurize(
          [(self.ligand_file, self.protein_file)]
      )
      self.assertEqual(feature_tensors.shape, (1, 300, 75, 75, 40))
  
      featurizer = RdkitGridFeaturizer(
          nb_rotations=3,
          box_width=75.0,
          voxel_width=1.0,
          feature_types=["flat_combined"],
          flatten=True,
          sanitize=True,
      )
      feature_tensors = featurizer.featurize(
          [(self.ligand_file, self.protein_file)]
      )
      self.assertEqual(feature_tensors.shape, (1, 204))
  
file_path: deepchem/deepchem/feat/tests/test_rdkit_grid_features.py
imports: import os
  import unittest
  import numpy
  from deepchem.feat import RdkitGridFeaturizer
label_desc: Use image node_id 7 for calling the TestRdkitGridFeaturizer obj's underlying member method code with example usage: obj.test_rotations() without return types