Browse Source

debug save the output for Issue984

pull/984/head
Anton Firszov 7 years ago
parent
commit
9ff4af6b0c
  1. 6
      tests/ImageSharp.Tests/Processing/Normalization/HistogramEqualizationTests.cs

6
tests/ImageSharp.Tests/Processing/Normalization/HistogramEqualizationTests.cs

@ -123,7 +123,7 @@ namespace SixLabors.ImageSharp.Tests.Processing.Normalization
[Theory]
[WithTestPatternImages(110, 110, PixelTypes.Rgba32)]
[WithTestPatternImages(170, 170, PixelTypes.Rgba32)]
public void Issue984_DoesNotThrowException<TPixel>(TestImageProvider<TPixel> provider)
public void Issue984<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
{
using (Image<TPixel> image = provider.GetImage())
@ -135,8 +135,8 @@ namespace SixLabors.ImageSharp.Tests.Processing.Normalization
ClipHistogram = true,
NumberOfTiles = 10
};
System.Exception ex = Record.Exception(() => image.Mutate(x => x.HistogramEqualization(options)));
Assert.Null(ex);
image.Mutate(x => x.HistogramEqualization(options));
image.DebugSave(provider);
}
}
}

Loading…
Cancel
Save