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); }
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); }