Exemple #1
0
        public void return_player_name_provided()
        {
            string  name   = "Kenny";
            IPlayer player = new ComputerPlayer(name);

            Assert.AreEqual(name, player.GetName());
        }
Exemple #2
0
        public void return_player_name_default()
        {
            IPlayer player = new ComputerPlayer();

            Assert.AreEqual(ComputerPlayer.DEFAULT_NAME, player.GetName());
        }