public void MinDeckSize_GreaterThanLimit_Passes() { MinDeckSize mainDeckRule = new MinDeckSize() { RuleName = RuleName, DeckName = MainDeckName, MinSize = DeckLimit - 1 }; List <Card> deck = buildDeck(); Assert.IsTrue(mainDeckRule.isDeckValid(deck)); }
public void MinDeckSize_LessThanLimit_Fails() { MinDeckSize mainDeckRule = new MinDeckSize() { RuleName = RuleName, DeckName = MainDeckName, MinSize = DeckLimit + 1 }; List <Card> deck = buildDeck(); Assert.IsFalse(mainDeckRule.isDeckValid(deck)); }