|
|
|
@ -14,7 +14,7 @@ namespace SixLabors.ImageSharp.Tests.Processing.Processors.Convolution |
|
|
|
public class DetectEdgesTest : FileTestBase |
|
|
|
{ |
|
|
|
public static readonly string[] CommonTestImages = { TestImages.Png.Bike }; |
|
|
|
|
|
|
|
|
|
|
|
public static readonly TheoryData<EdgeDetection> DetectEdgesFilters = new TheoryData<EdgeDetection> |
|
|
|
{ |
|
|
|
EdgeDetection.Kayyali, |
|
|
|
@ -54,9 +54,7 @@ namespace SixLabors.ImageSharp.Tests.Processing.Processors.Convolution |
|
|
|
{ |
|
|
|
image.Mutate(x => x.DetectEdges()); |
|
|
|
image.DebugSave(provider); |
|
|
|
|
|
|
|
// TODO: Enable once we have updated the images
|
|
|
|
// image.CompareToReferenceOutput(provider);
|
|
|
|
image.CompareToReferenceOutput(provider); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -85,10 +83,7 @@ namespace SixLabors.ImageSharp.Tests.Processing.Processors.Convolution |
|
|
|
image.DebugSave(provider); |
|
|
|
|
|
|
|
// TODO: Enable once we have updated the images
|
|
|
|
//image.CompareToReferenceOutput(provider);
|
|
|
|
|
|
|
|
// TODO: We don't need this any longer after switching to ReferenceImages
|
|
|
|
//ImageComparer.Tolerant().EnsureProcessorChangesAreConstrained(source, image, bounds);
|
|
|
|
image.CompareToReferenceOutput(provider); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|