public void TestGettingCardUrl() { var cardRow = SetTestData.ExampleOneCardInner("Alchemy", "Herbalist"); var name = SetParser.GetCardUrl(cardRow); Assert.AreEqual("./?card=!herbalist", name); }
public void TestGettingCardRow() { var set = SetTestData.ExampleSetOneCard("Alchemy", "Herbalist"); int next; var cardRow = SetParser.GetCardRow(0, set, out next); var expectedRow = SetTestData.ExampleOneCardInner("Alchemy", "Herbalist"); Assert.AreEqual(expectedRow, cardRow); }