public void RockVsPaperLose() { var user = new Rock(); var computer = new Paper(); var result = user.Challenge(computer); Assert.AreEqual(GameResult.Lose, result); }
public void RockVsScissorsWin() { var user = new Rock(); var computer = new Scissors(); var result = user.Challenge(computer); Assert.AreEqual(GameResult.Win, result); }
public void RockVsScissorsNotEqualTie() { var user = new Rock(); var computer = new Scissors(); var result = user.Challenge(computer); Assert.AreNotEqual(GameResult.Tie, result); }
public void RockVsPaperNotEqualWin() { var user = new Rock(); var computer = new Paper(); var result = user.Challenge(computer); Assert.AreNotEqual(GameResult.Win, result); }
public void RockVsRockTie() { var user = new Rock(); var computer = new Rock(); var result = user.Challenge(computer); Assert.AreEqual(GameResult.Tie, result); }