Exemplo n.º 1
0
        public void Awards1500PtsForAllRolls(DieRoll dice)
        {
            var diceSet     = new DiceRoll(FakeDiceRollFactory.GetSetOfRolls(dice, 5));
            var fiveOfAKind = new FiveOfAKindRule();

            var result = fiveOfAKind.CountPoints(diceSet);

            Assert.True(result.Points == _points);
        }
Exemplo n.º 2
0
        public void CanBeAchievedByFiveOfAnyRoll(DieRoll dice)
        {
            var diceSet     = new DiceRoll(FakeDiceRollFactory.GetSetOfRolls(dice, 5));
            var fiveOfAKind = new FiveOfAKindRule();

            var result = fiveOfAKind.CountPoints(diceSet);

            Assert.True(result.Points == _points);
        }