Пример #1
0
        public void hand_should_be_able_to_set_win()
        {
            var hand = new Hand();
            hand.CurrentBet = 999;

            hand.SetWon();

            Assert.AreEqual(0, hand.CurrentBet);
            Assert.AreEqual(HandStatus.Finished, hand.Status);
            Assert.IsTrue(hand.ShowWonMessage);
        }