Esempio n. 1
0
        public void AceShouldBeEleven()
        {
            var aceCard = new Card()
            {
                CardNumber = 1, Suit = Model.EnumTypes.SuitType.Clubs, Value = 11, Face = Model.EnumTypes.FaceType.Ace
            };

            var acecards = new List <Card>();

            acecards.Add(aceCard);

            var expected = 11;

            var result = _gameCommands.DecideIfAceIsHighOrLow(acecards, 10);

            Assert.AreEqual(expected, result);
        }