示例#1
0
        public void TestCheckBeloteFalse()
        {
            var player = new Player(0, "PlayerTest", null);

            Card[] cards =
            {
                new Card("Q", Suit.DIAMONDS, 0, 0),
                new Card("J", Suit.DIAMONDS, 0, 1)
            };
            foreach (var card in cards)
            {
                player.GetDeck().AddCard(card);
            }
            player.CheckBelote(Suit.DIAMONDS);
            Assert.Equal(false, player.HasBelote());
            Assert.Equal(0, player.GetBeloteCards());
        }