Browse Source

cancellation tests: larger images, don't go above 0.7

pull/2276/head
Anton Firszov 3 years ago
parent
commit
ce7ef111b8
  1. 10
      tests/ImageSharp.Tests/Image/ImageTests.Decode_Cancellation.cs

10
tests/ImageSharp.Tests/Image/ImageTests.Decode_Cancellation.cs

@ -20,17 +20,17 @@ public partial class ImageTests
{ {
string[] testFileForEachCodec = new[] string[] testFileForEachCodec = new[]
{ {
TestImages.Png.BikeSmall, TestImages.Png.Bike,
TestImages.Jpeg.Baseline.Jpeg420Small, TestImages.Jpeg.Baseline.Snake,
TestImages.Bmp.Car, TestImages.Bmp.Car,
TestImages.Tiff.RgbUncompressed, TestImages.Tiff.RgbUncompressed,
TestImages.Gif.Kumin, TestImages.Gif.Kumin,
TestImages.Tga.Bit32PalRleBottomLeft, TestImages.Tga.Bit32BottomRight,
TestImages.Webp.TestPatternOpaqueSmall, TestImages.Webp.Lossless.WithExif,
TestImages.Pbm.GrayscaleBinaryWide TestImages.Pbm.GrayscaleBinaryWide
}; };
double[] percentages = new[] { 0, 0.5, 0.9 }; double[] percentages = new[] { 0, 0.3, 0.7 };
TheoryData<bool, string, double> data = new(); TheoryData<bool, string, double> data = new();

Loading…
Cancel
Save