public void TargetPrice_from_tick_returns_expected_result(decimal entryPrice, int targetTick, decimal expectedResult) { var result = TargetPrice(Money(entryPrice), TickExtensions.Tick(targetTick)); result.Should().Be(Money(expectedResult)); }
public void StopLossPrice_from_tick_returns_expected_result(decimal entryPrice, int stopLossTick, decimal expectedResult) { var result = StopLossPrice(Money(entryPrice), TickExtensions.Tick(stopLossTick)); result.Should().Be(Money(expectedResult)); }