Exemplo n.º 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);
        }
Exemplo n.º 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);
 }