code: def test_bond_features(example_smiles_n_b_features):
      """
      Test for bond_features() function
      """
      for smiles in example_smiles_n_b_features.keys():
          b_f = []
          m = Chem.MolFromSmiles(smiles)
          for b in m.GetBonds():
              b_f.append(bond_features(b))
          print(b_f)
          k = np.array(b_f)
          req_f = np.array(example_smiles_n_b_features[smiles])
          assert k.shape == req_f.shape
          assert b_f == example_smiles_n_b_features[smiles]
  
file_path: deepchem/deepchem/feat/tests/test_features_generator_dmpnn.py
imports: from deepchem.feat.molecule_featurizers.dmpnn_featurizer import bond_features, map_reac_to_prod
  from rdkit import Chem
  import pytest
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: test_bond_features(example_smiles_n_b_features) without return types