Browse Source

Update TestFormat.cs

pull/2728/head
Anton Firszov 2 years ago
committed by GitHub
parent
commit
06312cbcfd
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      tests/ImageSharp.Tests/TestFormat.cs

3
tests/ImageSharp.Tests/TestFormat.cs

@ -229,8 +229,7 @@ public class TestFormat : IImageFormatConfigurationModule, IImageFormat
return this.testFormat.Sample<TPixel>();
}
protected override Image Decode(TestDecoderOptions options, Stream stream, CancellationToken cancellationToken)
=> this.Decode<TestPixelForAgnosticDecode>(options, stream, cancellationToken);
protected override Image Decode(TestDecoderOptions options, Stream stream, CancellationToken cancellationToken) => this.Decode<TestPixelForAgnosticDecode>(options, stream, cancellationToken);
}
public class TestDecoderOptions : ISpecializedDecoderOptions

Loading…
Cancel
Save