Exemplo n.º 1
0
        public void ShouldNotMatch_White_Blue()
        {
            //assign
            IColor white     = new ColorWhite();
            IColor blueColor = new ColorBlue();
            //act
            bool matches = white.Matches(blueColor);

            //assert
            matches.Should().BeFalse();
        }
Exemplo n.º 2
0
        public void ShouldNotMatch_White_Green()
        {
            //assign
            IColor white = new ColorWhite();
            IColor green = new ColorGreen();
            //act
            bool matches = white.Matches(green);

            //assert
            matches.Should().BeFalse();
        }
Exemplo n.º 3
0
        public void ShouldNotMatch_Red_White()
        {
            //assign
            IColor redColor = new ColorRed();
            IColor white    = new ColorWhite();
            //act
            bool matches = redColor.Matches(white);

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