Skip to content

Commit 7c5f39d

Browse files
committed
Forgot to commit tests
1 parent 407fc07 commit 7c5f39d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/ImageSharp.Tests/Processing/Processors/Transforms/SwizzleTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public InvertXAndYSwizzler(Size sourceSize)
2222

2323
public Size DestinationSize { get; }
2424

25-
public void Transform(Point point, out Point newPoint)
26-
=> newPoint = new Point(point.Y, point.X);
25+
public Point Transform(Point point)
26+
=> new Point(point.Y, point.X);
2727
}
2828

2929
[Theory]

tests/ImageSharp.Tests/Processing/Transforms/SwizzleTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public InvertXAndYSwizzler(Size sourceSize)
1818

1919
public Size DestinationSize { get; }
2020

21-
public void Transform(Point point, out Point newPoint)
22-
=> newPoint = new Point(point.Y, point.X);
21+
public Point Transform(Point point)
22+
=> new Point(point.Y, point.X);
2323
}
2424

2525
[Fact]

0 commit comments

Comments
 (0)