public void EncodeSpellCardTest() { var encoder = new scfdivineFormatEncoder(); var output = encoder.EncodeCard(testSpell); var expectedOutput = "Fireball @ Mage | Spell | C | 4 || Deal $6 damage. &"; Assert.AreEqual(expectedOutput, output); }
public void EncodeWeaponCardTest() { var encoder = new scfdivineFormatEncoder(); var output = encoder.EncodeCard(testWeapon); var expectedOutput = "Death's Bite @ Warrior | Weapon | C | 4 | 4/2 || $DR$: Deal 1 damage to all minions. &"; Assert.AreEqual(expectedOutput, output); }
public void EncodeMinionCardTest() { var encoder = new scfdivineFormatEncoder(); var output = encoder.EncodeCard(testMinion); var expectedOutput = "Tirion Fordring @ Paladin | | Minion | L | 8 | 6/6 || $DV$. $T$. $DR$: Equip a 5/3 Ashbringer. &"; Assert.AreEqual(expectedOutput, output); }