public void FourOfAKindScore_ShouldAddFourOfAKind(int die1, int die2, int die3, int die4, int die5, int expectedResult) { int[] diceRoll = { die1, die2, die3, die4, die5 }; var actualResult = _sut.GetScore(diceRoll); Assert.AreEqual(expectedResult, actualResult); }
public void Should_Return_Sum_Of_Four_Matching_Dice_If_There_Are_Four_That_Match(List <IDice> roll, int expectedOutput) { // Act var rollTotal = _fourOfAKind.GetScore(roll); // Assert Assert.Equal(expectedOutput, rollTotal); }