public void ShouldCalculateCorrectPints() { //Arrange var cards = CardsBuilder.CreateHighCardHandCards(); CardsBuilder.CreateFourOfAKindHandCards(); }
public void FourOfAKindAndHighCardsShouldGetFourOfAKindWins() { var blackCards = CardsBuilder.CreateFourOfAKindHandCards(); var whiteCards = CardsBuilder.CreateHighCardHandCards(); var result = _evaluator.EvaluateCardsWinner(blackCards, whiteCards); Assert.Equal(GameResult.BlackWin, result); }
public void StraightFlushCardAndHighCardsShouldGetStraightFlushWins() { var blackCards = CardsBuilder.CreateStraightFlushHandCards(); var whiteCards = CardsBuilder.CreateHighCardHandCards(); var result = _evaluator.EvaluateCardsWinner(blackCards, whiteCards); Assert.Equal(GameResult.BlackWin, result); }
public void ShouldValidateNotSatisfy() { //Arrange var cards = CardsBuilder.CreateHighCardHandCards(); //Act var isSatisfied = _typeValidator.IsSatisfied(cards); //Assert Assert.Equal(false, isSatisfied); }