Skip to content

Commit

Permalink
Fixed unit test for the HDRI build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Sep 5, 2021
1 parent 4dcc2bc commit d8242b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/Magick.NET.Tests/MagickImageTests/TheDeskewMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ public void ShouldDeskewTheImage()

image.Deskew(new Percentage(10));

ColorAssert.Equal(MagickColors.Black, image, 471, 92);
#if Q16HDRI
var expected = new MagickColors("#eadceadceadcffff");
#else
var expected = MagickColors.Black;
#endif
ColorAssert.Equal(expected, image, 471, 92);
}
}

Expand Down

0 comments on commit d8242b9

Please sign in to comment.