diff --git a/tests/ImageSharp.Tests/Formats/Jpg/JpegEncoderTests.cs b/tests/ImageSharp.Tests/Formats/Jpg/JpegEncoderTests.cs index b5f17d0b26..58b437af0f 100644 --- a/tests/ImageSharp.Tests/Formats/Jpg/JpegEncoderTests.cs +++ b/tests/ImageSharp.Tests/Formats/Jpg/JpegEncoderTests.cs @@ -14,7 +14,6 @@ public partial class JpegEncoderTests { private static JpegEncoder JpegEncoder => new(); - public static readonly TheoryData NonSubsampledEncodingSetups = new() private static readonly TheoryData TestQualities = new() { 40, @@ -167,7 +166,7 @@ public void EncodeBaseline_WorksWithDiscontiguousBuffers(TestImageProvid [WithFile(TestImages.Png.BikeGrayscale, nameof(LuminanceEncodingSetups), PixelTypes.L8)] [WithFile(TestImages.Jpeg.Baseline.Cmyk, nameof(CmykEncodingSetups), PixelTypes.Rgb24)] [WithFile(TestImages.Jpeg.Baseline.Ycck, nameof(YcckEncodingSetups), PixelTypes.Rgb24)] - public void EncodeProgressive_DefaultNumberOfScans(TestImageProvider provider, JpegEncodingColor colorType, int quality, float tolerance) + public void EncodeProgressive_DefaultNumberOfScans(TestImageProvider provider, JpegColorType colorType, int quality, float tolerance) where TPixel : unmanaged, IPixel { using Image image = provider.GetImage(); @@ -192,7 +191,7 @@ public void EncodeProgressive_DefaultNumberOfScans(TestImageProvider(TestImageProvider provider, JpegEncodingColor colorType, int quality, float tolerance) + public void EncodeProgressive_CustomNumberOfScans(TestImageProvider provider, JpegColorType colorType, int quality, float tolerance) where TPixel : unmanaged, IPixel { using Image image = provider.GetImage(); @@ -220,9 +219,9 @@ public void EncodeProgressive_CustomNumberOfScans(TestImageProvider