def test_EMA(self): ttr.ema(self.x)
def test_ttr(self): ema = ma.ema(self.x, window=14) ttr_ema = ttr.ema(self.x, n=14) self.assert_eq(ema, ttr_ema)