Esempio n. 1
0
        public void Created_Card_Will_Return_Correct_Suit_And_Value(Value testCardValue, Suit testSuitValue)
        {
            var aCard = new Card(testCardValue,testSuitValue);

            Assert.That(aCard.GetCardValue().Equals(testCardValue) && aCard.GetCardSuit().Equals(testSuitValue));
        }
Esempio n. 2
0
        public void Card_Suit_Is_A_Enum_That_Returns()
        {
            var fiveOfHearts = new Card(Value.Five, Suit.Hearts);

            Assert.AreEqual(fiveOfHearts.GetCardSuit(), Suit.Hearts);
        }