public void ShouldCalculateCorrectPints()
        {
            //Arrange
            var cards = CardsBuilder.CreateHighCardHandCards();

            CardsBuilder.CreateFourOfAKindHandCards();
        }
Exemplo n.º 2
0
        public void FourOfAKindAndHighCardsShouldGetFourOfAKindWins()
        {
            var blackCards = CardsBuilder.CreateFourOfAKindHandCards();

            var whiteCards = CardsBuilder.CreateHighCardHandCards();

            var result = _evaluator.EvaluateCardsWinner(blackCards, whiteCards);

            Assert.Equal(GameResult.BlackWin, result);
        }
Exemplo n.º 3
0
        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);
        }