Exemple #1
0
        public void Process_TwoColorValues_ShouldPass(ColorCombination expected, IColor color1, IColor color2)
        {
            var processor = new Processor();

            color1.AcceptProcessor(color2, processor);
            Assert.Equal(expected, processor.LastProcessed);
        }
Exemple #2
0
 public void Process_TwoColorValues_ShouldPass(ColorCombination expected, IColor color1, IColor color2)
 {
     var processor = new Processor();
     color1.AcceptProcessor(color2, processor);
     Assert.Equal(expected, processor.LastProcessed);
 }