code: def test(self):
      def greedy_action_func():
          return np.full(self.action_size, 0.3)
  
      explorer = AdditiveGaussian(
          self.scale, low=self.low, high=self.high
      )
  
      actions = []
      for t in range(100):
          a = explorer.select_action(t, greedy_action_func)
  
          if self.low is not None:
              # Clipped at lower edge
              self.assertTrue((a >= self.low).all())
  
          if self.high is not None:
              # Clipped at upper edge
              self.assertTrue((a <= self.high).all())
  
          if self.scale == 0:
              # Without noise
              self.assertTrue((a == 0.3).all())
          else:
              # With noise
              self.assertFalse((a == 0.3).all())
          actions.append(a)
  
      if self.low is None and self.high is None:
          np.testing.assert_allclose(
              np.mean(np.asarray(actions), axis=0), 0.3, atol=0.1
          )
  
file_path: chainerrl/tests/explorers_tests/test_additive_gaussian.py
imports: import unittest
  from chainer import testing
  from chainer.testing import condition
  import numpy
  from chainerrl.explorers.additive_gaussian import AdditiveGaussian
label_desc: Use image node_id 1 for calling the TestAdditiveGaussian obj's underlying member method code with example usage: obj.test() and returns: np