public void Has3OfSpades_Using3OfSpades_ReturnsTrue() { var sut = new RuleHandler(); List <Card> cards = new List <Card> { new Card("3", 0, "Spades", 0) }; bool result = sut.Has3OfSpades(cards); Assert.IsTrue(result); }
public void Has3OfSpades_UsingInvalidPlay_ReturnsFalse() { var sut = new RuleHandler(); List <Card> cards = new List <Card> { new Card("3", 0, "Diamonds", 2) }; bool result = sut.Has3OfSpades(cards); Assert.IsFalse(result); }