code: def testBBANDS(self):
      barDs = self.__loadBarDS()
      # EMA
      self.assertAmountsAreEqual(
          indicator.BBANDS(
              barDs.getCloseDataSeries(),
              252,
              20,
              2.0,
              2.0,
              talib.MA_Type.EMA,
          )[0][19 + 13],
          93.674,
      )
      self.assertAmountsAreEqual(
          indicator.BBANDS(
              barDs.getCloseDataSeries(),
              252,
              20,
              2.0,
              2.0,
              talib.MA_Type.EMA,
          )[1][19 + 13],
          87.679,
      )
      self.assertAmountsAreEqual(
          indicator.BBANDS(
              barDs.getCloseDataSeries(),
              252,
              20,
              2.0,
              2.0,
              talib.MA_Type.EMA,
          )[2][19 + 13],
          81.685,
      )
      # SMA
      self.assertAmountsAreEqual(
          indicator.BBANDS(
              barDs.getCloseDataSeries(),
              252,
              20,
              2.0,
              2.0,
              talib.MA_Type.SMA,
          )[0][19],
          98.0734,
      )
      self.assertAmountsAreEqual(
          indicator.BBANDS(
              barDs.getCloseDataSeries(),
              252,
              20,
              2.0,
              2.0,
              talib.MA_Type.SMA,
          )[1][19],
          92.8910,
      )
      self.assertAmountsAreEqual(
          indicator.BBANDS(
              barDs.getCloseDataSeries(),
              252,
              20,
              2.0,
              2.0,
              talib.MA_Type.SMA,
          )[2][19],
          87.7086,
      )
  
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 14 for calling the TestCase obj's underlying member method code with example usage: obj.testBBANDS() without return types