The Bowling Game Kata - examples in C#
- 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
}