public void ShouldEquate_RedCards() { //assign ICard card1 = new RedCard(); ICard card2 = new RedCard(); //act bool matches = card1.Matches(card2); //assert matches.Should().BeTrue(); }
public void ShouldNotEquate_Red_Green() { //assign ICard greenCard = new GreenCard(); ICard redCard = new RedCard(); //act bool matches = redCard.Matches(greenCard); //assert matches.Should().BeFalse(); }
public void ShouldNotEquate_Red_White() { //assign ICard redCard = new RedCard(); ICard whiteCard = new WhiteCard(); //act bool matches = redCard.Matches(whiteCard); //assert matches.Should().BeFalse(); }
public void ShouldNotEquate_Red_Blue() { //assign ICard redCard = new RedCard(); ICard blueCard = new BlueCard(); //act bool matches = redCard.Matches(blueCard); //assert matches.Should().BeFalse(); }