From 34371c7a7599450d68865b713e1f7856dbf0dfdd Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Fri, 2 Sep 2022 11:38:18 +1000 Subject: [PATCH] Cleanup --- .../Processing/Binarization/AdaptiveThresholdTests.cs | 2 +- tests/ImageSharp.Tests/Processing/IntegralImageTests.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/ImageSharp.Tests/Processing/Binarization/AdaptiveThresholdTests.cs b/tests/ImageSharp.Tests/Processing/Binarization/AdaptiveThresholdTests.cs index c7378bac90..6f4214c141 100644 --- a/tests/ImageSharp.Tests/Processing/Binarization/AdaptiveThresholdTests.cs +++ b/tests/ImageSharp.Tests/Processing/Binarization/AdaptiveThresholdTests.cs @@ -137,7 +137,7 @@ namespace SixLabors.ImageSharp.Tests.Processing.Binarization Exception exception = Record.Exception(() => { using Image image = provider.GetImage(); - image.Mutate(img => img.AdaptiveThreshold(.5F)); + image.Mutate(img => img.AdaptiveThreshold()); image.DebugSave(provider); }); diff --git a/tests/ImageSharp.Tests/Processing/IntegralImageTests.cs b/tests/ImageSharp.Tests/Processing/IntegralImageTests.cs index 89d8e5330c..869f577f79 100644 --- a/tests/ImageSharp.Tests/Processing/IntegralImageTests.cs +++ b/tests/ImageSharp.Tests/Processing/IntegralImageTests.cs @@ -100,7 +100,6 @@ namespace SixLabors.ImageSharp.Tests.Processing System.Func getPixel) where TPixel : unmanaged, IPixel { - // Image image = provider.GetImage(); Buffer2DRegion image = provider.GetImage().GetRootFramePixelBuffer().GetRegion(bounds); // Check top-left corner