Example #1
0
 public void PixelType_PropertyValueIsCorrect <TPixel>(TestImageProvider <TPixel> provider, PixelTypes expected)
     where TPixel : struct, IPixel <TPixel>
 {
     Assert.Equal(expected, provider.PixelType);
 }
 public void PixelType_PropertyValueIsCorrect <TColor>(TestImageProvider <TColor> provider, PixelTypes expected)
     where TColor : struct, IPackedPixel, IEquatable <TColor>
 {
     Assert.Equal(expected, provider.PixelType);
 }