public void GameScore2(int[] values, int expectedScore) { var greed = new Greed(); int score = greed.Score2(values); Assert.That(score == expectedScore); }
public void GameScore(int die1, int die2, int die3, int die4, int die5, int expectedScore) { var values = new int[] { die1, die2, die3, die4, die5 }; var greed = new Greed(); int score = greed.Score(values); Assert.That(score == expectedScore); }