code: def _test(self, rv, sample_shape, batch_shape, event_shape):
      self.assertEqual(
          rv.shape, sample_shape + batch_shape + event_shape
      )
      self.assertEqual(rv.sample_shape, sample_shape)
      self.assertEqual(rv.batch_shape, batch_shape)
      self.assertEqual(rv.event_shape, event_shape)
  
file_path: edward/tests/models/random_variable_shape_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from edward.models import Bernoulli, Dirichlet
label_desc: Use image node_id 1 for calling the test_random_variable_shape_class obj's underlying member method code with example usage: obj._test(rv, sample_shape, batch_shape, event_shape) without return types