Example #1
0
 public void Test_DummyThrowNotInsertedAfterStrikeInSecondThrowOfFrame()
 {
     var game = new BowlingGame();
     game.Throw(0);
     game.Throw(10);
     Ashure.That(game.Print().Equals("0 10 | "));
 }
Example #2
0
 public void Test_DummyThrowInsertedAfterStrikeInFirstThrowOSecondfFrame()
 {
     var game = new BowlingGame();
     // First frame
     game.Throw(1);
     game.Throw(1);
     // Second frame
     game.Throw(10);
     Ashure.That(game.Print().Equals("1 1 | 10 0 | "));
 }