public void CheckWinnerNegative2()//with values 2,1 { //checking for return result as true bool?result = RPS.determineWinner(2, 1); bool expected = (bool)result; Assert.IsFalse(expected); }
public void CheckWinnerpositive2()//with values 2,0 { //checking for return result as true bool?result = RPS.determineWinner(2, 0); bool expected = (bool)result; Assert.IsTrue(expected); }
public void CheckWinnerNotNull2()//with values 2,2 { //checking for null values Assert.IsNull(RPS.determineWinner(2, 2)); }
public void CheckWinnerNotNull1()//with values 1,1 { //checking for null values Assert.IsNull(RPS.determineWinner(0, 0)); }