예제 #1
0
        public void ShouldNotEquate_Blue_White()
        {
            //assign
            ICard blueCard  = new BlueCard();
            ICard whiteCard = new WhiteCard();
            //act
            bool matches = blueCard.Matches(whiteCard);

            //assert
            matches.Should().BeFalse();
        }
예제 #2
0
        public void ShouldNotEquate_Blue_Green()
        {
            //assign
            ICard blueCard  = new BlueCard();
            ICard greenCard = new GreenCard();
            //act
            bool matches = blueCard.Matches(greenCard);

            //assert
            matches.Should().BeFalse();
        }
예제 #3
0
        public void ShouldNotEquate_Blue_Red()
        {
            //assign
            ICard blueCard = new BlueCard();
            ICard redCard  = new RedCard();
            //act
            bool matches = blueCard.Matches(redCard);

            //assert
            matches.Should().BeFalse();
        }
예제 #4
0
        public void ShouldEquate_BlueCards()
        {
            //assign
            ICard card1 = new BlueCard();
            ICard card2 = new BlueCard();
            //act
            bool matches = card1.Matches(card2);

            //assert
            matches.Should().BeTrue();
        }