public void TestRockVsPaper() { Ass3.Player human = new Ass3.Player(100); Ass3.Player ai = new Ass3.Player(100); Ass3.Program temp = new Ass3.Program(); int result = temp.PlayRound("rock", "paper"); int expected = -10; Assert.AreEqual(result, expected); }
public void TestPaperVsScissors() { Ass3.Player human = new Ass3.Player(100); Ass3.Player ai = new Ass3.Player(100); Ass3.Program temp = new Ass3.Program(); int result = temp.PlayRound("paper", "scissors"); int expected = -15; Assert.AreEqual(result, expected); }
public void TestScissorsVsRock() { Ass3.Player human = new Ass3.Player(100); Ass3.Player ai = new Ass3.Player(100); Ass3.Program temp = new Ass3.Program(); int result = temp.PlayRound("scissors", "rock"); int expected = -20; Assert.AreEqual(result, expected); }