private void rollMany(int rolls, int pins) { for (int i = 0; i < rolls; i++) { game.roll(pins); } }
public void testGutterGame() { // Arrange int expectedScore = 0; // Act for (int i = 0; i < 20; i++) { game.roll(0); } // Assert Assert.AreEqual(game.score(), expectedScore); }