public void OnOpen_NotOpenSignal__ReturnsFalse() { SignalSelector.OnOpen(new Signal() { Type = SignalType.EnterOnClose }, StockPricesDataUtils.CreatePricesData(0, 0, 0, 0), 0).ShouldBeFalse(); }
public void OnOpen_OpenSignal__ReturnsTrue() { SignalSelector.OnOpen(new Signal() { Type = SignalType.EnterOnOpen }, StockPricesDataUtils.CreatePricesData(0, 0, 0, 0), 0).ShouldBeTrue(); }