public void EmptySeatDoesntHavePlayerPlayingOrAllIn() { //Arrange var s = new SeatInfo(); //Act var res = s.HasPlayerPlayingOrAllIn(); //Assert Assert.AreEqual(false, res); }
public void SeatWithPlayingPlayerHasPlayerPlayingOrAllIn() { //Arrange var s = new SeatInfo { Player = new PlayerInfo { State = PlayerStateEnum.Playing } }; //Act var res = s.HasPlayerPlayingOrAllIn(); //Assert Assert.AreEqual(true, res); }
public void SeatWithNonePlayerDoesntHavePlayerPlayingOrAllIn() { //Arrange var s = new SeatInfo { Player = new PlayerInfo { State = PlayerStateEnum.None } }; //Act var res = s.HasPlayerPlayingOrAllIn(); //Assert Assert.AreEqual(false, res); }