From 751bf48b35763483775e236ab916091361597aa0 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Sat, 20 Aug 2022 13:16:28 +1000 Subject: [PATCH] Tweak WebP test percentage for MacOS --- tests/ImageSharp.Tests/Formats/WebP/WebpDecoderTests.cs | 2 +- .../Exceptions/ImageDifferenceIsOverThresholdException.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ImageSharp.Tests/Formats/WebP/WebpDecoderTests.cs b/tests/ImageSharp.Tests/Formats/WebP/WebpDecoderTests.cs index 417d3ce2d..ac5918952 100644 --- a/tests/ImageSharp.Tests/Formats/WebP/WebpDecoderTests.cs +++ b/tests/ImageSharp.Tests/Formats/WebP/WebpDecoderTests.cs @@ -372,7 +372,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Webp image.DebugSave(provider, testOutputDetails: details, appendPixelTypeToFileName: false); image.CompareToReferenceOutput( - ImageComparer.TolerantPercentage(0.0006F), + ImageComparer.TolerantPercentage(0.0007F), provider, testOutputDetails: details, appendPixelTypeToFileName: false); diff --git a/tests/ImageSharp.Tests/TestUtilities/ImageComparison/Exceptions/ImageDifferenceIsOverThresholdException.cs b/tests/ImageSharp.Tests/TestUtilities/ImageComparison/Exceptions/ImageDifferenceIsOverThresholdException.cs index eb446c327..8857471d0 100644 --- a/tests/ImageSharp.Tests/TestUtilities/ImageComparison/Exceptions/ImageDifferenceIsOverThresholdException.cs +++ b/tests/ImageSharp.Tests/TestUtilities/ImageComparison/Exceptions/ImageDifferenceIsOverThresholdException.cs @@ -52,7 +52,7 @@ namespace SixLabors.ImageSharp.Tests.TestUtilities.ImageComparison { if (TestEnvironment.IsMacOS) { - return "Mac OS"; + return "MacOS"; } if (TestEnvironment.IsMacOS)