class_docstr: Test material featurizers.
docstr: Test CGCNNFeaturizer.
docstr_tok: ["Test","CGCNNFeaturizer","."]
code: def test_cgcnn_featurizer(self):
      """
      Test CGCNNFeaturizer.
      """
  
      featurizer = CGCNNFeaturizer(
          radius=3.0, max_neighbors=6, step=0.3
      )
      graph_features = featurizer.featurize([self.struct_dict])
  
      assert graph_features[0].num_nodes == 1
      assert graph_features[0].num_edges == 6
      assert graph_features[0].node_features.shape == (1, 92)
      assert graph_features[0].edge_index.shape == (2, 6)
      assert graph_features[0].edge_features.shape == (6, 11)
  
file_path: deepchem/deepchem/feat/tests/test_materials_featurizers.py
imports: import unittest
  import numpy
  from deepchem.feat import ElementPropertyFingerprint, SineCoulombMatrix, CGCNNFeaturizer, ElemNetFeaturizer
label_desc: Use image node_id 4 for calling the TestMaterialFeaturizers obj's underlying member method code with example usage: obj.test_cgcnn_featurizer() without return types