Browse Source

fix tests

af/merge-core
Anton Firszov 7 years ago
parent
commit
2743e87860
  1. 1
      tests/ImageSharp.Tests/Processing/Processors/Convolution/DetectEdgesTest.cs
  2. 1
      tests/ImageSharp.Tests/Processing/Processors/Transforms/ResizeTests.cs

1
tests/ImageSharp.Tests/Processing/Processors/Convolution/DetectEdgesTest.cs

@ -42,6 +42,7 @@ namespace SixLabors.ImageSharp.Tests.Processing.Processors.Convolution
var bounds = new Rectangle(10, 10, size.Width / 2, size.Height / 2);
ctx.DetectEdges(bounds);
},
comparer: ValidatorComparer,
useReferenceOutputFrom: nameof(this.DetectEdges_InBox));
}

1
tests/ImageSharp.Tests/Processing/Processors/Transforms/ResizeTests.cs

@ -131,6 +131,7 @@ namespace SixLabors.ImageSharp.Tests.Processing.Processors.Transforms
testOutputDetails: workingBufferLimitInRows,
appendPixelTypeToFileName: false);
image.CompareToReferenceOutput(
ImageComparer.TolerantPercentage(0.001f),
provider,
testOutputDetails: workingBufferLimitInRows,
appendPixelTypeToFileName: false);

Loading…
Cancel
Save