code: def test_running_average(self):
      ra = RunningAverage()
      ra.add(1.0).add(2.0).add(3.0).add(4.0)
      self.assertEqual(ra.count, 4)
      self.assertEqual(ra.average, 2.5)
      self.assertEqual(ra.total, 10.0)
  
file_path: ReAgent/reagent/ope/test/unit_tests/test_utils.py
imports: import unittest
  import numpy
  import torch
  from reagent.ope.utils import Clamper, RunningAverage
label_desc: Use image node_id 1 for calling the TestUtils obj's underlying member method code with example usage: obj.test_running_average() without return types