From 7c5f39d47c40b7c5875b33bc1cbcbcc329d31137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaury=20Lev=C3=A9?= Date: Thu, 26 Nov 2020 23:25:36 +0100 Subject: [PATCH] Forgot to commit tests --- .../Processing/Processors/Transforms/SwizzleTests.cs | 4 ++-- tests/ImageSharp.Tests/Processing/Transforms/SwizzleTests.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/ImageSharp.Tests/Processing/Processors/Transforms/SwizzleTests.cs b/tests/ImageSharp.Tests/Processing/Processors/Transforms/SwizzleTests.cs index 97b6a6414c..f508744fae 100644 --- a/tests/ImageSharp.Tests/Processing/Processors/Transforms/SwizzleTests.cs +++ b/tests/ImageSharp.Tests/Processing/Processors/Transforms/SwizzleTests.cs @@ -22,8 +22,8 @@ namespace SixLabors.ImageSharp.Tests.Processing.Processors.Transforms public Size DestinationSize { get; } - public void Transform(Point point, out Point newPoint) - => newPoint = new Point(point.Y, point.X); + public Point Transform(Point point) + => new Point(point.Y, point.X); } [Theory] diff --git a/tests/ImageSharp.Tests/Processing/Transforms/SwizzleTests.cs b/tests/ImageSharp.Tests/Processing/Transforms/SwizzleTests.cs index 9c2701ae78..cde6aeca36 100644 --- a/tests/ImageSharp.Tests/Processing/Transforms/SwizzleTests.cs +++ b/tests/ImageSharp.Tests/Processing/Transforms/SwizzleTests.cs @@ -18,8 +18,8 @@ namespace SixLabors.ImageSharp.Tests.Processing.Transforms public Size DestinationSize { get; } - public void Transform(Point point, out Point newPoint) - => newPoint = new Point(point.Y, point.X); + public Point Transform(Point point) + => new Point(point.Y, point.X); } [Fact]