public void BinaryDither_index_rect_CorrectProcessor() { this.operations.BinaryDither(this.orderedDither, Color.Yellow, Color.HotPink, this.rect); BinaryOrderedDitherProcessor p = this.Verify <BinaryOrderedDitherProcessor>(this.rect); Assert.Equal(this.orderedDither, p.Dither); Assert.Equal(Color.HotPink, p.LowerColor); }
public void BinaryDither_index_rect_CorrectProcessor() { this.operations.BinaryDither(this.orderedDither, NamedColors <Rgba32> .Yellow, NamedColors <Rgba32> .HotPink, this.rect); BinaryOrderedDitherProcessor <Rgba32> p = this.Verify <BinaryOrderedDitherProcessor <Rgba32> >(this.rect); Assert.Equal(this.orderedDither, p.Dither); Assert.Equal(NamedColors <Rgba32> .HotPink, p.LowerColor); }
public void BinaryDither_rect_CorrectProcessor() { this.operations.BinaryDither(this.orderedDither, this.rect); BinaryOrderedDitherProcessor p = this.Verify <BinaryOrderedDitherProcessor>(this.rect); Assert.Equal(this.orderedDither, p.Dither); Assert.Equal(Color.White, p.UpperColor); Assert.Equal(Color.Black, p.LowerColor); }
public void BinaryDither_CorrectProcessor() { this.operations.BinaryDither(this.orderedDither); BinaryOrderedDitherProcessor <Rgba32> p = this.Verify <BinaryOrderedDitherProcessor <Rgba32> >(); Assert.Equal(this.orderedDither, p.Dither); Assert.Equal(NamedColors <Rgba32> .White, p.UpperColor); Assert.Equal(NamedColors <Rgba32> .Black, p.LowerColor); }