code: def testEventWindow(self):
      ds = dataseries.SequenceDataSeries()
      smaEW = ma.SMAEventWindow(10)
      sma = ma.SMA(ds, 10)
      smaEW.onNewValue(None, None)  # This value should get skipped
      for i in xrange(100):
          ds.append(i)
          smaEW.onNewValue(None, i)
          self.assertEqual(sma[-1], smaEW.getValue())
          smaEW.onNewValue(None, None)
  
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 10 for calling the SMATestCase obj's underlying member method code with example usage: obj.testEventWindow() without return types