Exemple #1
0
 public void TestGetJsonCardsFromPath()
 {
     Assert.True(JsonCardFactory.GetJsonCards(JsonPath).Count > 0);
 }
Exemple #2
0
 public void TestGetJsonCardsFromPathWithXmlDeck()
 {
     Assert.Equal(DeckSize, JsonCardFactory.GetJsonCards(JsonPath, GetDefaultXmlDeck()).Count);
 }
Exemple #3
0
 public void TestGetJsonCardsFromEmptyPath()
 {
     _ = Assert.Throws <ArgumentException>(() => JsonCardFactory.GetJsonCards(""));
 }