예제 #1
0
        public void ShouldNotEquate_Blue_Red()
        {
            //assign
            ICrystal blueCrystal = new BlueCrystal();
            ICrystal redCrystal  = new RedCrystal();

            //act
            bool matches = blueCrystal.Matches(redCrystal);

            //assert
            matches.Should().BeFalse();
        }
예제 #2
0
        public void ShouldEquate_BlueCrystals()
        {
            //assign
            ICrystal crystal1 = new BlueCrystal();
            ICrystal crystal2 = new BlueCrystal();

            //act
            bool matches = crystal1.Matches(crystal2);

            //assert
            matches.Should().BeTrue();
        }
예제 #3
0
        public void ShouldNotEquate_Blue_Green()
        {
            //assign
            ICrystal blueCrystal  = new BlueCrystal();
            ICrystal greenCrystal = new GreenCrystal();

            //act
            bool matches = blueCrystal.Matches(greenCrystal);

            //assert
            matches.Should().BeFalse();
        }
예제 #4
0
        public void ShouldNotEquate_White_Blue()
        {
            //assign
            ICrystal blueCrystal  = new BlueCrystal();
            ICrystal whiteCrystal = new WhiteCrystal();

            //act
            bool matches = whiteCrystal.Matches(blueCrystal);

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