Skip to content

Commit 0fb565b

Browse files
committed
Updated unit tests due to changes in ImageMagick.
1 parent a63ebde commit 0fb565b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Magick.NET.Tests/MagickImageTests/TheCompareMethod.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ public void ShouldUseTheColorFuzz()
167167
[InlineData(ErrorMetric.PeakSignalToNoiseRatio, 0.0542)]
168168
[InlineData(ErrorMetric.PerceptualHash, 0)]
169169
[InlineData(ErrorMetric.RootMeanSquared, 0.4726)]
170-
[InlineData(ErrorMetric.StructuralSimilarity, 0.2889)]
171-
[InlineData(ErrorMetric.StructuralDissimilarity, 0.7110)]
170+
[InlineData(ErrorMetric.StructuralSimilarity, 0.4220)]
171+
[InlineData(ErrorMetric.StructuralDissimilarity, 0.2889)]
172172
public void ShouldReturnTheCorrectValueForEachErrorMetric(ErrorMetric errorMetric, double expectedResult)
173173
{
174174
using var image = new MagickImage(Files.MagickNETIconPNG);

0 commit comments

Comments
 (0)