Unit Testing – C# – Part 05 – Building Out the Class 3
In this blog we will continue testing our Scorer class by adding Spares and Strikes. Adding Spares Looking at the rules for spares. If we knock down 10 pins with 2 bowls, we add 10 plus the value of the next bowl. Here is our failing test. [Test] public void CalculateScoreWithSpares() { _scorer.FrameScore(0, 0); Assert.That(_scorer.Score, … More Unit Testing – C# – Part 05 – Building Out the Class 3