Example #1
0
        public void TestString2Card2String()
        {
            string cardStr  = "As";
            int    card     = StdDeck.StringToCard(cardStr);
            string cardStr2 = StdDeck.CardToString(card);

            Assert.AreEqual(cardStr, cardStr2);
        }
Example #2
0
        public void TestString2Card2String()
        {
            string cardStr  = "As";
            int    card     = StdDeck.StringToCard(cardStr);
            string cardStr2 = StdDeck.CardToString(card);

            //Assert.AreEqual(cardStr, cardStr2);
            Debug.Assert(0 == String.Compare(cardStr, cardStr2));
        }