예제 #1
0
        public void GetScore_CherryAndSevenOnThreeLines_ReturnZero()
        {
            var builder = new WinLinesBuilder(_helper.SymbolMapWithCherryAndSeven);
            var rules   = new BarRules(ref builder);
            var result  = rules.GetScore();

            Assert.That(result, Is.EqualTo(0));
        }
예제 #2
0
        public void GetScore_ThreeBarsOnThreeLines_ReturnScore()
        {
            var builder = new WinLinesBuilder(_helper.SymbolMapWithThreeBars);
            var rules   = new BarRules(ref builder);
            var result  = rules.GetScore();

            Assert.That(result, Is.EqualTo(30));
        }