public void ComparesAgainstExternalDataAfterReset() { var bop = new BalanceOfPower("BOP"); RunTestIndicator(bop); bop.Reset(); RunTestIndicator(bop); }
public void ResetsProperly() { var bop = new BalanceOfPower("BOP"); foreach (var data in TestHelper.GetTradeBarStream("spy_bop.txt", false)) { bop.Update(data); } Assert.IsTrue(bop.IsReady); bop.Reset(); TestHelper.AssertIndicatorIsInDefaultState(bop); }