// // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // namespace ImageSharp.Tests.Processing { using System; using ImageSharp.PixelFormats; using ImageSharp.Processing; using Xunit; public class DelegateTest : BaseImageOperationsExtensionTest { [Fact] public void Run_CreatedDelegateProcessor() { Action> action = (i) => { }; this.operations.Apply(action); DelegateProcessor processor = this.Verify>(); Assert.Equal(action, processor.Action); } } }