public void TestGetCardListFromFileAreFound() { // Test on Lorewalker Cho ID:EX1_100, Not found == UNKNOWN var cards = CollectionExporter.GetCardList(@"Files\card_names_single.txt"); Assert.AreEqual("EX1_100", cards[0].Id); }
public void TestGetCardListFromDB() { int count = CollectionExporter.GetCardList().Count; // After BRM 2015.03.03 Assert.AreEqual(535, count); }
public void TestListFileNotFoundHandled() { try { CollectionExporter.GetCardList(@"fake/file.txt"); } catch (Exception e) { Assert.Fail("Expected no exception, but got: " + e.GetType()); } }
public void TestGetCardListFromFile() { int count = CollectionExporter.GetCardList(@"Files\card_names_small_list.txt").Count; Assert.AreEqual(4, count); }