Unit Testing – C# – Part 06 – Building Out the Class 4
In this blog we will continue testing our Scorer class by adding some statistics. Get the Number of Strikes and Spares We need to keep track of the number of Strikes and Spares thrown in a game. Let’s write the tests. [Test] public void Check10SparesWereThrown() { for (int _bowl = 1; _bowl <= 10; _bowl++) … More Unit Testing – C# – Part 06 – Building Out the Class 4