Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use tolerant comparer for .NET FX
  • Loading branch information
JimBobSquarePants committed May 25, 2022
commit 4a42893618d6302957b9dfdef2776efb0ee6aad6
5 changes: 5 additions & 0 deletions tests/ImageSharp.Tests/Formats/Tiff/TiffDecoderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,12 @@ public void TiffDecoder_CanDecode_YCbCr_24Bit<TPixel>(TestImageProvider<TPixel>
// converting the pixel data from Magick.NET to our format with YCbCr?
using Image<TPixel> image = provider.GetImage();
image.DebugSave(provider);

#if NETCOREAPP
image.CompareToReferenceOutput(ImageComparer.Exact, provider);
#else
image.CompareToReferenceOutput(TolerantImageComparer.TolerantPercentage(0.0002F), provider);
#endif
}

[Theory]
Expand Down