public void TestTwentyZeroGame() { var game = new Game(); RunGame(game, Enumerable.Repeat(0, 20)); Assert.AreEqual(0, game.GetScore()); }
public void TestFirstScoreStrikeThenZeros() { var game = new Game(); var scores = new [] { 10 }.Concat(Enumerable.Repeat(0, 18)); RunGame(game, scores); Assert.AreEqual(10, game.GetScore()); }