public ImageOperationTests() { this.provider = new FakeImageOperationsProvider(); this.processor = new Mock <IImageProcessor <Rgba32> >().Object; this.image = new Image <Rgba32>(new Configuration() { ImageOperationsProvider = this.provider }, 1, 1); }
public ImageOperationTests() { this.provider = new FakeImageOperationsProvider(); Mock <IImageProcessor> processorMock = new Mock <IImageProcessor>(); this.processorDefinition = processorMock.Object; this.image = new Image <Rgba32>(new Configuration { ImageOperationsProvider = this.provider }, 1, 1); }