Exemplo n.º 1
0
        static void BJHandTestHasAce()
        {
            BJHand h1 = new BJHand();

            Console.WriteLine("Testing Has Ace");

            h1.AddCard(new Card(3, 4));
            h1.AddCard(new Card(11, 12));
            Console.WriteLine("No aces in hand. Expecting false. " + h1.HasAce());

            h1.AddCard(new Card(1, 1));
            Console.WriteLine("One ace in the hand. Expecting true. " + h1.HasAce());
        }