From a7cff180fb84a679dfa8cec6d1d6e21771bee656 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sun, 6 Feb 2022 14:17:25 +0100 Subject: [PATCH] Another patch to the unit tests. --- .../MagickImageTests/TheRangeThresholdMethod.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Magick.NET.Tests/MagickImageTests/TheRangeThresholdMethod.cs b/tests/Magick.NET.Tests/MagickImageTests/TheRangeThresholdMethod.cs index 35ed59f526..e3f1dced93 100644 --- a/tests/Magick.NET.Tests/MagickImageTests/TheRangeThresholdMethod.cs +++ b/tests/Magick.NET.Tests/MagickImageTests/TheRangeThresholdMethod.cs @@ -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); @@ -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);