def test_psar_up_indicator(self): target = 'psar_up_ind' result = psar_up_indicator(high=self._df['High'], low=self._df['Low'], close=self._df['Close']) pd.testing.assert_series_equal(self._df[target].tail(), result.tail(), check_names=False)
def test_psar_up_indicator2(self): target = 'psar_up_ind' result = psar_up_indicator(**self._params) pd.testing.assert_series_equal(self._df[target].tail(), result.tail(), check_names=False)