public void testGutterGame()
        {
            // Arrange
            int expectedScore = 0;

            // Act
            for (int i = 0; i < 20; i++)
            {
                game.roll(0);
            }

            // Assert
            Assert.AreEqual(game.score(), expectedScore);
        }
Beispiel #2
0
 public void gutterGame()
 {
     rollMany(20, 0);
     Assert.AreEqual(game.score(), 0);
 }