public void GetProfit_MatchingSymbols_Profit(Symbols.Symbols symbolType, decimal expectedResult)
        {
            var testsymbols = new List <ISymbol>
            {
                Symbol.Create(symbolType),
                Symbol.Create(symbolType),
                Symbol.Create(symbolType)
            };

            var result = _profitCalculator.GetProfit(testsymbols, 1);

            Assert.AreEqual(expectedResult, result);
        }
Beispiel #2
0
        private void RotateSymbols(decimal stakeAmount, ref decimal winningAmount)
        {
            var rotationSequence = _randomizer.GetSample(3);

            winningAmount += _profitCalculator.GetProfit(rotationSequence, stakeAmount);
            MessageProvider.RotationSymbols(rotationSequence.ToList());
        }