Esempio n. 1
0
        public void IsFullFilledBy_FoldingHero_ReturnsFalse()
        {
            _heroPlayer
            .Add(
                new ConvertedPokerRound()
                .Add(new ConvertedPokerAction(ActionTypes.F, 1.0)));

            _convertedHand
            .AddPlayer(_heroPlayer);

            bool result = _investedMoneyCondition.IsMetBy(_convertedHand);

            Assert.That(result, Is.False);
        }
        public void IsFullFilledBy_HandHasNoPlayers_ReturnsFalse()
        {
            bool result = _sawFlopCondition.IsMetBy(_convertedHand);

            Assert.That(result, Is.False);
        }
Esempio n. 3
0
 void AdjustToCondition(IPokerHandCondition condition)
 {
     Visible = condition.IsMetBy(Hand);
 }