public void return_player_name_provided() { string name = "Kenny"; IPlayer player = new ComputerPlayer(name); Assert.AreEqual(name, player.GetName()); }
public void return_player_name_default() { IPlayer player = new ComputerPlayer(); Assert.AreEqual(ComputerPlayer.DEFAULT_NAME, player.GetName()); }