public void Awards1000PtsForAllRolls(DieRoll dice) { var diceSet = FakeDiceRollFactory.GetSetOfRolls(dice, 4); var fourOfAKind = new FourOfAKindRule(); var result = fourOfAKind.CountPoints(new DiceRoll(diceSet)); Assert.True(result.Points == _points); }
public void CanBeAchievedByFourOfAnyRoll(DieRoll dice) { var diceSet = FakeDiceRollFactory.GetSetOfRolls(dice, 4); var fourOfAKind = new FourOfAKindRule(); var result = fourOfAKind.CountPoints(new DiceRoll(diceSet)); Assert.True(result.DiceCombination == _combination); }