Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 663 Bytes

File metadata and controls

28 lines (24 loc) · 663 Bytes

BowlingGame

The Bowling Game Kata - examples in C#

Build status

  • ItExists
  • ItHasScoreMethod
  • ItHasRollMethod
  • GivenTwentyZerosThen0Returned
  • GivenTwentyOnesThen20Returned
  • GivenTwentyTwosThen40Returned
  • GivenOneSpareThenSparePlusNextRoll (4,6,2,0 = 14)
  • GivenSeparateFramesSpareBonusNotApplied (0,5,5,0 = 10)
  • GivenOneStrikeThenStrikePlusNextTwoRolls (10,1,2,0 = 15)
  • Refactor to RollMany
  • Spare is 10 + next roll
  • Strike is 10 + next 2 rolls
[TestMethod]
public void ItExists() 
{
  // Arrange
  // Act
  // Assert
}