Skip to content

Commit 6bfabe9

Browse files
Reduce memory pressure on gif decoder tests
1 parent a6f96f7 commit 6bfabe9

5 files changed

Lines changed: 8 additions & 8 deletions

tests/ImageSharp.Tests/Formats/Gif/GifDecoderTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ public void GifDecoder_IsNotBoundToSinglePixelType<TPixel>(TestImageProvider<TPi
101101
}
102102

103103
[Theory]
104-
[WithFile(TestImages.Gif.Cheers, PixelTypes.Rgba32, 93)]
104+
[WithFile(TestImages.Gif.M4nb, PixelTypes.Rgba32, 5)]
105105
[WithFile(TestImages.Gif.Rings, PixelTypes.Rgba32, 1)]
106-
[WithFile(TestImages.Gif.Issues.BadDescriptorWidth, PixelTypes.Rgba32, 36)]
106+
[WithFile(TestImages.Gif.MixedDisposal, PixelTypes.Rgba32, 11)]
107107
public void Decode_VerifyRootFrameAndFrameCount<TPixel>(TestImageProvider<TPixel> provider, int expectedFrameCount)
108108
where TPixel : unmanaged, IPixel<TPixel>
109109
{

tests/Images/External/ReferenceOutput/GifDecoderTests/Decode_VerifyRootFrameAndFrameCount_Rgba32_cheers.png

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/Images/External/ReferenceOutput/GifDecoderTests/Decode_VerifyRootFrameAndFrameCount_Rgba32_issue403_baddescriptorwidth.png

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)