public BowlingSimulator Play(BowlingScorer bowlingScorer) { foreach (var knockedPins in this.frames.SelectMany(x => x.Rolls)) { bowlingScorer.Roll(knockedPins); } return(this); }
public void Setup() { scorer = new BowlingScorer(); }
public void SetUp() { this.testee = new BowlingScorer(); }