@@ -67,10 +67,12 @@ public partial class PngDecoderTests
6767 TestImages . Png . GrayTrns16BitInterlaced
6868 } ;
6969
70- public static readonly string [ ] TestImagesGrayAlpha8Bit =
70+ public static readonly string [ ] TestImagesGray8BitInterlaced =
7171 {
72- TestImages . Png . GrayAlpha8Bit ,
73- TestImages . Png . GrayAlpha8Bit2
72+ TestImages . Png . GrayAlpha1BitInterlaced ,
73+ TestImages . Png . GrayAlpha2BitInterlaced ,
74+ TestImages . Png . Gray4BitInterlaced ,
75+ TestImages . Png . GrayAlpha8BitInterlaced
7476 } ;
7577
7678 public static readonly TheoryData < string , int , int , PixelResolutionUnit > RatioFiles =
@@ -130,8 +132,8 @@ public void Decode_64Bpp<TPixel>(TestImageProvider<TPixel> provider)
130132 }
131133
132134 [ Theory ]
133- [ WithFileCollection ( nameof ( TestImagesGrayAlpha8Bit ) , PixelTypes . Rgba32 ) ]
134- public void Decoder_Gray8bitWithAlpha < TPixel > ( TestImageProvider < TPixel > provider )
135+ [ WithFileCollection ( nameof ( TestImagesGray8BitInterlaced ) , PixelTypes . Rgba32 ) ]
136+ public void Decoder_Gray8bitInterlaced < TPixel > ( TestImageProvider < TPixel > provider )
135137 where TPixel : struct , IPixel < TPixel >
136138 {
137139 using ( Image < TPixel > image = provider . GetImage ( new PngDecoder ( ) ) )
@@ -166,8 +168,8 @@ public void Decode_GrayAlpha16Bit<TPixel>(TestImageProvider<TPixel> provider)
166168 }
167169
168170 [ Theory ]
169- [ WithFile ( TestImages . Png . Splash , PixelTypes ) ]
170- public void Decoder_IsNotBoundToSinglePixelType < TPixel > ( TestImageProvider < TPixel > provider )
171+ [ WithFile ( TestImages . Png . GrayAlpha8BitInterlaced , PixelTypes ) ]
172+ public void Decoder_CanDecodeGrey8bitWithAlpha < TPixel > ( TestImageProvider < TPixel > provider )
171173 where TPixel : struct , IPixel < TPixel >
172174 {
173175 using ( Image < TPixel > image = provider . GetImage ( new PngDecoder ( ) ) )
@@ -178,8 +180,8 @@ public void Decoder_IsNotBoundToSinglePixelType<TPixel>(TestImageProvider<TPixel
178180 }
179181
180182 [ Theory ]
181- [ WithFile ( TestImages . Png . GrayAlpha8Bit2 , PixelTypes ) ]
182- public void Decoder_CanDecodeGrey8bitWithAlpha < TPixel > ( TestImageProvider < TPixel > provider )
183+ [ WithFile ( TestImages . Png . Splash , PixelTypes ) ]
184+ public void Decoder_IsNotBoundToSinglePixelType < TPixel > ( TestImageProvider < TPixel > provider )
183185 where TPixel : struct , IPixel < TPixel >
184186 {
185187 using ( Image < TPixel > image = provider . GetImage ( new PngDecoder ( ) ) )
0 commit comments