Browse Source

Adds unit test for LoadAsync(Configuration configuration, string path, IImageDecoder decoder).

pull/1574/head
pekspro 6 years ago
parent
commit
1b009bed9d
  1. 9
      tests/ImageSharp.Tests/Image/ImageTests.Load_FileSystemPath_UseDefaultConfiguration.cs

9
tests/ImageSharp.Tests/Image/ImageTests.Load_FileSystemPath_UseDefaultConfiguration.cs

@ -67,6 +67,15 @@ namespace SixLabors.ImageSharp.Tests
}
}
[Fact]
public async Task Path_Decoder_Agnostic_Async()
{
using (var img = await Image.LoadAsync(Configuration.Default, this.Path, new BmpDecoder()))
{
VerifyDecodedImage(img);
}
}
[Fact]
public void Path_OutFormat_Specific()
{

Loading…
Cancel
Save