code: def testAROON(self):
      barDs = self.__loadBarDS()
      # AROON DOWN TEST
      self.assertAmountsAreEqual(
          indicator.AROON(barDs, 252, 14)[0][14], 100
      )
      self.assertAmountsAreEqual(
          indicator.AROON(barDs, 252, 14)[0][14 + 1], 92.857
      )
      self.assertAmountsAreEqual(
          indicator.AROON(barDs, 252, 14)[0][-2], 28.571
      )
      self.assertAmountsAreEqual(
          indicator.AROON(barDs, 252, 14)[0][-1], 21.429
      )
      # AROON UP TEST
      self.assertAmountsAreEqual(
          indicator.AROON(barDs, 252, 14)[1][14], 78.571
      )
      self.assertAmountsAreEqual(
          indicator.AROON(barDs, 252, 14)[1][14 + 1], 71.429
      )
      self.assertAmountsAreEqual(
          indicator.AROON(barDs, 252, 14)[1][-2], 0
      )
      self.assertAmountsAreEqual(
          indicator.AROON(barDs, 252, 14)[1][-1], 7.1429
      )
  
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 10 for calling the TestCase obj's underlying member method code with example usage: obj.testAROON() without return types