mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
740 B
25 lines
740 B
// <copyright file="SkewTest.cs" company="James Jackson-South">
|
|
// Copyright (c) James Jackson-South and contributors.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
// </copyright>
|
|
|
|
namespace ImageSharp.Tests.Processing
|
|
{
|
|
using System;
|
|
using ImageSharp.PixelFormats;
|
|
using ImageSharp.Processing;
|
|
using Xunit;
|
|
|
|
public class DelegateTest : BaseImageOperationsExtensionTest
|
|
{
|
|
[Fact]
|
|
public void Run_CreatedDelegateProcessor()
|
|
{
|
|
Action<Image<Rgba32>> action = (i) => { };
|
|
this.operations.Run(action);
|
|
|
|
DelegateProcessor<Rgba32> processor = this.Verify<DelegateProcessor<Rgba32>>();
|
|
Assert.Equal(action, processor.Action);
|
|
}
|
|
}
|
|
}
|
|
|