public void ThrowHasFive(){ // arrange var scoreCalculator = new ScoreCalculator (); // act var rollValues = new List<int> { 5, 2, 2, 4, 3, 6 }; // assert Assert.IsTrue (scoreCalculator.RollHasOneOrFive(rollValues)); }
public void ThrowDoesntHaveOneOrFive(){ // arrange var scoreCalculator = new ScoreCalculator (); // act var rollValues = new List<int> { 3, 2, 2, 4, 3, 6 }; // assert Assert.IsFalse (scoreCalculator.RollHasOneOrFive(rollValues)); }