Example #1
0
        public void GetCardFactionTest_Invalid()
        {
            //arrange
            AbstractCard test_card       = new DEBUG_Card("ThisIsACardNameWow", AbstractCard.CardRarity.Common, AbstractCard.CardType.Attack, AbstractCard.CardTarget.All, 2, "DEBUG_CARD");
            string       expected_result = "";
            //act
            string actual_result = CardIDUtilities.GetCardFaction(test_card);

            //assert
            Assert.AreEqual(actual_result, expected_result);
        }
Example #2
0
        public void GetCardFactionTest()
        {
            //arrange
            AbstractCard test_card       = new Punch();
            string       expected_result = "Basic";
            //act
            string actual_result = CardIDUtilities.GetCardFaction(test_card);

            //assert
            Assert.AreEqual(actual_result, expected_result);
        }