Skip to content

Commit d5d5b2c

Browse files
committed
Re-enabled and corrected unit test.
1 parent 1e75616 commit d5d5b2c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,14 @@ public class TheBilateralBlurMethod
1313
[Fact]
1414
public void ShouldApplyTheFilter()
1515
{
16-
Assert.Skip("Inconsistent results between debug and release build.");
17-
1816
using var image = new MagickImage(Files.NoisePNG);
1917
using var blurredImage = image.Clone();
2018
blurredImage.BilateralBlur(2, 2);
2119

2220
#if Q8
23-
Assert.InRange(image.Compare(blurredImage, ErrorMetric.RootMeanSquared), 0.02622, 0.02623);
21+
Assert.InRange(image.Compare(blurredImage, ErrorMetric.RootMeanSquared), 0.00107, 0.00108);
2422
#else
25-
Assert.InRange(image.Compare(blurredImage, ErrorMetric.RootMeanSquared), 0.02562, 0.02563);
23+
Assert.InRange(image.Compare(blurredImage, ErrorMetric.RootMeanSquared), 0.00084, 0.00085);
2624
#endif
2725
}
2826
}

0 commit comments

Comments
 (0)