public void GivenThreeTwos_ThenReturnTwoHundredPoints() { var diceRolled = new List<int> { 2, 2, 2 }; var diceScorer = new DiceScorer(); var actualPoints = diceScorer.ScoreTwos(diceRolled); Assert.AreEqual(200, actualPoints); }
public void GivenLessThanThreeTwos_ThenReturnZeroPoints(List<int> diceRolls) { var diceToScore = new List<int> { 2 }; var diceScorer = new DiceScorer(); var actualValue = diceScorer.ScoreTwos(diceToScore); Assert.AreEqual(0, actualValue); }