code: def testMultipleValuesSkippingOne(self):
      # Test SMA invalidating fast sma calculation.
      period = 5
      values = range(1, 10)
      sma = self.__buildSMA(period, values)
      for i in xrange(period - 1, len(values), 2):
          expected = sum(values[i - (period - 1) : i + 1]) / float(
              period
          )
          self.assertTrue(sma[i] == expected)
  
imports: from six.moves import xrange
  from .None import common
  from pyalgotrade.technical import ma
  from pyalgotrade import dataseries
  from pyalgotrade.barfeed import ninjatraderfeed
  from pyalgotrade import bar
label_desc: Use image node_id 6 for calling the SMATestCase obj's underlying member method code with example usage: obj.testMultipleValuesSkippingOne() without return types