code: def testBounded(self):
      ds = dataseries.SequenceDataSeries(maxLen=2)
      for i in xrange(100):
          ds.append(i)
          if i > 0:
              self.assertEqual(ds[0], i - 1)
              self.assertEqual(ds[1], i)
      self.assertEqual(len(ds), 2)
  
imports: import datetime
  from six.moves import xrange
  from .None import common
  from pyalgotrade import dataseries
  from pyalgotrade.dataseries import bards
  from pyalgotrade.dataseries import aligned
  from pyalgotrade import bar
label_desc: Use image node_id 4 for calling the TestSequenceDataSeries obj's underlying member method code with example usage: obj.testBounded() without return types