Ejemplo n.º 1
0
        public void GetSimpleScore()
        {
            List <Card> cards = new List <Card>()
            {
                new Card(Suit.Clubs, Rank.Eight),
                new Card(Suit.Diamonds, Rank.Four),
                new Card(Suit.Harts, Rank.King)
            };

            Assert.AreEqual <int>(22, gameFlow.GetScore(cards), "Score should be 22");
        }