def test_psar_up(self): target = 'psar_up' result = psar_up(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_up2(self): target = 'psar_up' result = psar_up(**self._params) pd.testing.assert_series_equal(self._df[target].tail(), result.tail(), check_names=False)