public void ScoreFiveGivenFiveDiceOfOneAndTheCategoryIsChance() { _yatzyGame.AddRoll(new Chance(Dice.One, Dice.One, Dice.One, Dice.One, Dice.One)); var result = _yatzyGame.CalculateScore(Player.One); Assert.Equal(5, result); }
public void ScoreFiveGivenFiveDiceOfOneAndTheCategoryIsChance() { _yatzyGame.AddRoll(new Chance(Dice.One, Dice.One, Dice.One, Dice.One, Dice.One)); var result = _yatzyGame.CalculateScore(Player.One); Assert.Equal(5, result); }