public void MinCardAmount_MoreThanLimit_Passes() { MinCardAmount maxCardRule = new MinCardAmount() { RuleName = RuleName, CardName = CardName, MaxAmount = CardLimit - 1 }; List <Card> deck = buildDeck(); Assert.IsTrue(maxCardRule.isDeckValid(deck)); }
public void MinCardAmount_LessThanLimit_Fails() { MinCardAmount maxCardRule = new MinCardAmount() { RuleName = RuleName, CardName = CardName, MaxAmount = CardLimit + 1 }; List <Card> deck = buildDeck(); Assert.IsFalse(maxCardRule.isDeckValid(deck)); }