Browse Source

problem test file

pull/1760/head
Ildar Khayrutdinov 4 years ago
parent
commit
df0bc4c222
  1. 2
      tests/ImageSharp.Tests/Formats/Tiff/BigTiffDecoderTests.cs

2
tests/ImageSharp.Tests/Formats/Tiff/BigTiffDecoderTests.cs

@ -31,7 +31,6 @@ namespace SixLabors.ImageSharp.Tests.Formats.Tiff
[WithFile(BigTIFFSubIFD8, PixelTypes.Rgba32)]
[WithFile(Indexed4_Deflate, PixelTypes.Rgba32)]
[WithFile(Indexed8_LZW, PixelTypes.Rgba32)]
[WithFile(MinIsBlack_Fax3, PixelTypes.Rgba32)]
public void TiffDecoder_CanDecode<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : unmanaged, IPixel<TPixel> => TestTiffDecoder(provider);
@ -43,6 +42,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Tiff
[Theory]
[WithFile(MinIsWhite_RLE, PixelTypes.Rgba32)]
[WithFile(MinIsBlack_RLE, PixelTypes.Rgba32)]
[WithFile(MinIsBlack_Fax3, PixelTypes.Rgba32)]
public void ProblemFiles<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : unmanaged, IPixel<TPixel> => Assert.Throws<ImageDifferenceIsOverThresholdException>(() => TestTiffDecoder(provider));

Loading…
Cancel
Save