Skip to content

Commit

Permalink
Another patch to the unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Feb 6, 2022
1 parent 9f98873 commit a7cff18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void ShouldChangeTheImage()
{
image.RangeThreshold(new Percentage(40), new Percentage(40), new Percentage(60), new Percentage(60));

ColorAssert.Equal(MagickColors.Black, image, 22, 102);
ColorAssert.Equal(MagickColors.Black, image, 22, 101);
ColorAssert.Equal(MagickColors.White, image, 22, 103);
ColorAssert.Equal(MagickColors.White, image, 22, 152);
ColorAssert.Equal(MagickColors.Black, image, 22, 154);
Expand All @@ -99,7 +99,7 @@ public void ShouldChangeTheImage()
var highBlack = (QuantumType)(Quantum.Max * 0.6);
image.RangeThreshold(lowBlack, lowWhite, highWhite, highBlack);

ColorAssert.Equal(MagickColors.Black, image, 22, 102);
ColorAssert.Equal(MagickColors.Black, image, 22, 101);
ColorAssert.Equal(MagickColors.White, image, 22, 103);
ColorAssert.Equal(MagickColors.White, image, 22, 152);
ColorAssert.Equal(MagickColors.Black, image, 22, 154);
Expand Down

0 comments on commit a7cff18

Please sign in to comment.