class_docstr: Unit testing for MolGAN basic layers
class_docstr_tok: ["Unit","testing","for","MolGAN","basic","layers"]
docstr: Test if initialization data is set-up correctly
docstr_tok: ["Test","if","initialization","data","is","set-up","correctly"]
code: def test_build(self):
      """
      Test if initialization data is set-up correctly
      """
      model = self.model
      assert model.batch_size == self.batch_size
      assert model.edges == self.edges
      assert model.nodes == self.nodes
      assert model.vertices == self.vertices
      assert model.dropout_rate == self.dropout_rate
      assert len(model.generators) == 1
      assert len(model.discriminators) == 1
  
file_path: deepchem/deepchem/models/tests/test_molgan_model.py
imports: import os
  import unittest
  import pytest
  import pandas
  from deepchem.data import NumpyDataset
  from deepchem.feat.molecule_featurizers import MolGanFeaturizer
  from deepchem.models.optimizers import ExponentialDecay
label_desc: Use image node_id 2 for calling the test_molgan_model obj's underlying member method code with example usage: obj.test_build() without return types