code: def testADXR(self):
      barDs = self.__loadBarDS()
      self.assertAmountsAreEqual(
          indicator.ADXR(barDs, 252, 14)[40], 19.8666
      )
      self.assertAmountsAreEqual(
          indicator.ADXR(barDs, 252, 14)[41], 18.9092
      )
      self.assertAmountsAreEqual(
          indicator.ADXR(barDs, 252, 14)[-2], 21.5972
      )
      self.assertAmountsAreEqual(
          indicator.ADXR(barDs, 252, 14)[-1], 20.4920
      )
  
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 8 for calling the TestCase obj's underlying member method code with example usage: obj.testADXR() without return types