Skip to content

Commit 262c8f9

Browse files
committed
Loosen comparison tolerance.
1 parent a7a1a91 commit 262c8f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/ImageSharp.Drawing.Tests/Drawing/FillPathGradientBrushTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void FillTriangleWithGreyscale<TPixel>(TestImageProvider<TPixel> provider
5959
where TPixel : unmanaged, IPixel<TPixel>
6060
{
6161
provider.VerifyOperation(
62-
TolerantComparer,
62+
ImageComparer.TolerantPercentage(0.02f),
6363
image =>
6464
{
6565
PointF[] points = { new PointF(10, 0), new PointF(20, 20), new PointF(0, 20) };

0 commit comments

Comments
 (0)