public void isWinReturnsFalseWhenContestantLose() { Monty game = new Monty(2); game.PickDoor(Array.IndexOf(game.Doors, game.Doors.Single(d => d.ContainsPrize == false))); Assert.False(game.IsWin()); }
public void isWinReturnsTrueWhenContestantWins() { Monty game = new Monty(2); game.PickDoor(Array.IndexOf(game.Doors, game.Doors.Single(d => d.ContainsPrize == true))); Assert.True(game.IsWin()); }