antonfirsov 4 weeks ago
parent
commit
d8dbce17ee
  1. 8
      tests/ImageSharp.Tests/Formats/Bmp/BmpDecoderTests.cs

8
tests/ImageSharp.Tests/Formats/Bmp/BmpDecoderTests.cs

@ -224,8 +224,9 @@ public class BmpDecoderTests
}
}
// RLE8Cut case disabled, see https://github.com/SixLabors/ImageSharp/issues/3112
// [WithFile(RLE8Cut, PixelTypes.Rgba32)]
[Theory]
[WithFile(RLE8Cut, PixelTypes.Rgba32)]
[WithFile(RLE8Delta, PixelTypes.Rgba32)]
public void BmpDecoder_CanDecode_RunLengthEncoded_8Bit_WithDelta_MagickRefDecoder<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : unmanaged, IPixel<TPixel>
@ -236,11 +237,12 @@ public class BmpDecoderTests
image.CompareToOriginal(provider, MagickReferenceDecoder.Png);
}
// RLE8Inverted cases disabled, see https://github.com/SixLabors/ImageSharp/issues/3112.
// [WithFile(RLE8Inverted, PixelTypes.Rgba32, false)]
// [WithFile(RLE8Inverted, PixelTypes.Rgba32, true)]
[Theory]
[WithFile(RLE8, PixelTypes.Rgba32, false)]
[WithFile(RLE8Inverted, PixelTypes.Rgba32, false)]
[WithFile(RLE8, PixelTypes.Rgba32, true)]
[WithFile(RLE8Inverted, PixelTypes.Rgba32, true)]
public void BmpDecoder_CanDecode_RunLengthEncoded_8Bit<TPixel>(TestImageProvider<TPixel> provider, bool enforceDiscontiguousBuffers)
where TPixel : unmanaged, IPixel<TPixel>
{

Loading…
Cancel
Save