Skip to content

Commit 208660b

Browse files
Tweak tolerance for .NET 472 x86
1 parent 5b5c2d8 commit 208660b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/ImageSharp.Drawing.Tests/Drawing/FillPathTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
using System.Numerics;
55
using SixLabors.ImageSharp.Drawing.Processing;
6+
using SixLabors.ImageSharp.Drawing.Tests.TestUtilities.ImageComparison;
67
using SixLabors.ImageSharp.PixelFormats;
78
using SixLabors.ImageSharp.Processing;
89
using Xunit;
@@ -63,6 +64,7 @@ public void FillPathSVGArcs<TPixel>(TestImageProvider<TPixel> provider)
6364
public void FillPathCanvasArcs<TPixel>(TestImageProvider<TPixel> provider)
6465
where TPixel : unmanaged, IPixel<TPixel>
6566
=> provider.VerifyOperation(
67+
ImageComparer.TolerantPercentage(5e-3f),
6668
image =>
6769
{
6870
for (int i = 0; i <= 3; i++)

tests/ImageSharp.Drawing.Tests/Drawing/Text/DrawTextOnImageTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class DrawTextOnImageTests
2727

2828
private static readonly ImageComparer TextDrawingComparer = ImageComparer.TolerantPercentage(1e-2f);
2929

30-
private static readonly ImageComparer OutlinedTextDrawingComparer = ImageComparer.TolerantPercentage(6e-4f);
30+
private static readonly ImageComparer OutlinedTextDrawingComparer = ImageComparer.TolerantPercentage(1e-3f);
3131

3232
public DrawTextOnImageTests(ITestOutputHelper output)
3333
=> this.Output = output;

0 commit comments

Comments
 (0)