Skip to content

Commit aebccfd

Browse files
committed
Corected array type.
1 parent 35a610c commit aebccfd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Magick.NET.Tests/Pixels/PixelTests/TheEqualsMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public void ShouldReturnTrueWhenImageHasNoChannelsAndValueIsNull()
132132
{
133133
using (var pixels = new UnsafePixelCollection(image))
134134
{
135-
var pixel = Pixel.Create(pixels, 0, 0, Array.Empty<byte>());
135+
var pixel = Pixel.Create(pixels, 0, 0, Array.Empty<QuantumType>());
136136

137137
Assert.True(pixel.Equals((MagickColor)null));
138138
}

tests/Magick.NET.Tests/Pixels/PixelTests/TheToColorMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public void ShouldReturnNullWhenImageHasNoChannels()
2828
{
2929
using (var pixels = new UnsafePixelCollection(image))
3030
{
31-
var pixel = Pixel.Create(pixels, 0, 0, Array.Empty<byte>());
31+
var pixel = Pixel.Create(pixels, 0, 0, Array.Empty<QuantumType>());
3232

3333
Assert.Null(pixel.ToColor());
3434
}

0 commit comments

Comments
 (0)