Example #1
0
        public void Score_Validruns_ShouldUpdateBothPlayerScore()
        {
            var game = new TwoPlayersCricket();

            game.Score(3);
            Assert.IsTrue(game.PlayerScore == 3);
        }
Example #2
0
 public void PlayerKeepScoring(int playerNumber, int score)
 {
     _player.Score(score);
 }