docstr: RSI indicator should be 100 in the case of 14 days of positive returns.
docstr_tok: ["RSI","indicator","should","be","100","in","the","case","of","14","days","of","positive","returns","."]
code: def test_rsi_all_positive_returns(self):
      """
      RSI indicator should be 100 in the case of 14 days of positive returns.
      """
  
      rsi = RSI()
  
      today = np.datetime64(1, "ns")
      assets = np.arange(1)
      out = np.empty((1,), dtype=float)
  
      closes = np.linspace(46, 60, num=15)
      closes.shape = (15, 1)
      rsi.compute(today, assets, out, closes)
      self.assertEqual(out[0], 100.0)
  
imports: from __future__ import division
  from nose_parameterized import parameterized
  from six.moves import range
  import numpy
  import pandas
  import talib
  from numpy.random import RandomState
  from zipline.lib.adjusted_array import AdjustedArray
  from zipline.pipeline.data import USEquityPricing
  from zipline.pipeline.factors import BollingerBands, Aroon, FastStochasticOscillator, IchimokuKinkoHyo, LinearWeightedMovingAverage, RateOfChangePercentage, TrueRange, MovingAverageConvergenceDivergenceSignal, AnnualizedVolatility, RSI
  from zipline.testing import check_allclose, parameter_space
  from zipline.testing.fixtures import ZiplineTestCase
  from zipline.testing.predicates import assert_equal
  from .base import BaseUSEquityPipelineTestCase
label_desc: Use image node_id 2 for calling the RSITestCase obj's underlying member method code with example usage: obj.test_rsi_all_positive_returns() without return types