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

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

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