public void TestCases(int[] dice, int score) { // had to do this because inlinedata doesnt take classes var roll = new Roll(); roll.AddRange(dice); Assert.Equal(score, _game.Score(roll)); }
public void TestCases(int[] dice, int score) { // had to do this because inlinedata doesnt take classes var roll = new Roll(); roll.AddRange(dice); Assert.Equal(score, _game.Score(roll)); }