1515
1616namespace SixLabors . ImageSharp . Tests . Formats . Png
1717{
18- [ Collection ( "RunSerial" ) ]
1918 [ Trait ( "Format" , "Png" ) ]
2019 public partial class PngEncoderTests
2120 {
22- private static PngEncoder PngEncoder => new PngEncoder ( ) ;
21+ private static PngEncoder PngEncoder => new ( ) ;
2322
2423 public static readonly TheoryData < string , PngBitDepth > PngBitDepthFiles =
25- new TheoryData < string , PngBitDepth >
24+ new ( )
2625 {
2726 { TestImages . Png . Rgb48Bpp , PngBitDepth . Bit16 } ,
2827 { TestImages . Png . Bpp1 , PngBitDepth . Bit1 }
2928 } ;
3029
3130 public static readonly TheoryData < string , PngBitDepth , PngColorType > PngTrnsFiles =
32- new TheoryData < string , PngBitDepth , PngColorType >
31+ new ( )
3332 {
3433 { TestImages . Png . Gray1BitTrans , PngBitDepth . Bit1 , PngColorType . Grayscale } ,
3534 { TestImages . Png . Gray2BitTrans , PngBitDepth . Bit2 , PngColorType . Grayscale } ,
@@ -43,15 +42,15 @@ public partial class PngEncoderTests
4342 /// <summary>
4443 /// All types except Palette
4544 /// </summary>
46- public static readonly TheoryData < PngColorType > PngColorTypes = new TheoryData < PngColorType >
45+ public static readonly TheoryData < PngColorType > PngColorTypes = new ( )
4746 {
4847 PngColorType . RgbWithAlpha ,
4948 PngColorType . Rgb ,
5049 PngColorType . Grayscale ,
5150 PngColorType . GrayscaleWithAlpha ,
5251 } ;
5352
54- public static readonly TheoryData < PngFilterMethod > PngFilterMethods = new TheoryData < PngFilterMethod >
53+ public static readonly TheoryData < PngFilterMethod > PngFilterMethods = new ( )
5554 {
5655 PngFilterMethod . None ,
5756 PngFilterMethod . Sub ,
@@ -65,7 +64,7 @@ public partial class PngEncoderTests
6564 /// All types except Palette
6665 /// </summary>
6766 public static readonly TheoryData < PngCompressionLevel > CompressionLevels
68- = new TheoryData < PngCompressionLevel >
67+ = new ( )
6968 {
7069 PngCompressionLevel . Level0 ,
7170 PngCompressionLevel . Level1 ,
@@ -79,12 +78,12 @@ public static readonly TheoryData<PngCompressionLevel> CompressionLevels
7978 PngCompressionLevel . Level9 ,
8079 } ;
8180
82- public static readonly TheoryData < int > PaletteSizes = new TheoryData < int >
81+ public static readonly TheoryData < int > PaletteSizes = new ( )
8382 {
8483 30 , 55 , 100 , 201 , 255
8584 } ;
8685
87- public static readonly TheoryData < int > PaletteLargeOnly = new TheoryData < int >
86+ public static readonly TheoryData < int > PaletteLargeOnly = new ( )
8887 {
8988 80 , 100 , 120 , 230
9089 } ;
@@ -96,7 +95,7 @@ public static readonly TheoryData<PngCompressionLevel> CompressionLevels
9695 } ;
9796
9897 public static readonly TheoryData < string , int , int , PixelResolutionUnit > RatioFiles =
99- new TheoryData < string , int , int , PixelResolutionUnit >
98+ new ( )
10099 {
101100 { TestImages . Png . Splash , 11810 , 11810 , PixelResolutionUnit . PixelsPerMeter } ,
102101 { TestImages . Png . Ratio1x4 , 1 , 4 , PixelResolutionUnit . AspectRatio } ,
0 commit comments