code: def testRSI(self):
      barDs = self.__loadBarDS()
      self.assertAmountsAreEqual(
          indicator.RSI(barDs.getCloseDataSeries(), 252, 14)[14], 49.15
      )  # Original value 49.14
      self.assertAmountsAreEqual(
          indicator.RSI(barDs.getCloseDataSeries(), 252, 14)[15], 52.33
      )  # Original value 52.32
      self.assertAmountsAreEqual(
          indicator.RSI(barDs.getCloseDataSeries(), 252, 14)[16], 46.07
      )
      self.assertAmountsAreEqual(
          indicator.RSI(barDs.getCloseDataSeries(), 252, 14)[-1], 49.63
      )
  
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 44 for calling the TestCase obj's underlying member method code with example usage: obj.testRSI() without return types