public void EmptySeatDoesntHavePlayerAllIn() { //Arrange var s = new SeatInfo(); //Act var res = s.HasPlayerAllIn(); //Assert Assert.AreEqual(false, res); }
public void SeatWithAllInPlayerHasPlayerAllIn() { //Arrange var s = new SeatInfo { Player = new PlayerInfo { State = PlayerStateEnum.AllIn } }; //Act var res = s.HasPlayerAllIn(); //Assert Assert.AreEqual(true, res); }
public void SeatWithNonePlayerDoesntHavePlayerAllIn() { //Arrange var s = new SeatInfo { Player = new PlayerInfo { State = PlayerStateEnum.None } }; //Act var res = s.HasPlayerAllIn(); //Assert Assert.AreEqual(false, res); }