public void ReturnsATieTest() { //Arrange RoShamBo roShamBo = new RoShamBo(); var playerOne = "Paper"; var playerTwo = "Paper"; var expected = "Both players played the same. It's a tie."; //Act var actual = roShamBo.Play(playerOne, playerTwo); //Assert Assert.Equal(expected, actual); }
public void RockBeatsScissorsTest() { //Arrange RoShamBo roShamBo = new RoShamBo(); var playerOne = "Rock"; var playerTwo = "Scissors"; var expected = "Rock beats Scissors"; //Act var actual = roShamBo.Play(playerOne, playerTwo); //Assert Assert.Equal(expected, actual); }
public void PaperBeatsRockTest() { //Arrange RoShamBo roShamBo = new RoShamBo(); var playerOne = "Paper"; var playerTwo = "Rock"; var expected = "Paper beats Rock"; //Act var actual = roShamBo.Play(playerOne, playerTwo); //Assert Assert.Equal(expected, actual); }