Skip to content

Commit

Permalink
Tweak tolerance for .NET 472 x86
Browse files Browse the repository at this point in the history
  • Loading branch information
JimBobSquarePants committed Apr 19, 2023
1 parent 5b5c2d8 commit 208660b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/ImageSharp.Drawing.Tests/Drawing/FillPathTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

using System.Numerics;
using SixLabors.ImageSharp.Drawing.Processing;
using SixLabors.ImageSharp.Drawing.Tests.TestUtilities.ImageComparison;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using Xunit;
Expand Down Expand Up @@ -63,6 +64,7 @@ public void FillPathSVGArcs<TPixel>(TestImageProvider<TPixel> provider)
public void FillPathCanvasArcs<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : unmanaged, IPixel<TPixel>
=> provider.VerifyOperation(
ImageComparer.TolerantPercentage(5e-3f),
image =>
{
for (int i = 0; i <= 3; i++)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class DrawTextOnImageTests

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

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

public DrawTextOnImageTests(ITestOutputHelper output)
=> this.Output = output;
Expand Down

0 comments on commit 208660b

Please sign in to comment.