public void GivenLessThanThreeFours_WhenOnlyFoursAreRolled_ThenReturnZeroPoints(List<int> diceRolled) { var diceScorer = new DiceScorer(); var actualPoints = diceScorer.ScoreSixes(diceRolled); Assert.AreEqual(0, actualPoints); }
public void GivenMoreThanFourFours_WhenOnlyFoursAreRolled_ThenReturnFourHundredPoints(List<int> diceRolled) { var diceScorer = new DiceScorer(); var actualPoints = diceScorer.ScoreSixes(diceRolled); Assert.AreEqual(600, actualPoints); }
public void GivenExactlyThreeFours_WhenOnlyFoursAreRolled_ThenReturnFourHundredPoints() { var diceRolled = new List<int> { 6, 6, 6 }; var diceScorer = new DiceScorer(); var actualPoints = diceScorer.ScoreSixes(diceRolled); Assert.AreEqual(600, actualPoints); }