code: def testMA(self):
      barDs = self.__loadBarDS()
      self.assertAmountsAreEqual(
          indicator.MA(
              barDs.getCloseDataSeries(), 252, 2, talib.MA_Type.SMA
          )[1],
          93.16,
      )  # Original value 93.15
      self.assertAmountsAreEqual(
          indicator.MA(
              barDs.getCloseDataSeries(), 252, 2, talib.MA_Type.SMA
          )[2],
          94.59,
          precision=1,
      )
      self.assertAmountsAreEqual(
          indicator.MA(
              barDs.getCloseDataSeries(), 252, 2, talib.MA_Type.SMA
          )[3],
          94.73,
          precision=1,
      )
      self.assertAmountsAreEqual(
          indicator.MA(
              barDs.getCloseDataSeries(), 252, 2, talib.MA_Type.SMA
          )[-1],
          108.31,
      )
  
imports: import datetime
  import talib
  from six.moves import xrange
  from .None import common
  from pyalgotrade.talibext import indicator
  from pyalgotrade import bar
  from pyalgotrade import dataseries
  from pyalgotrade.dataseries import bards
label_desc: Use image node_id 27 for calling the TestCase obj's underlying member method code with example usage: obj.testMA() without return types