Browse Source

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

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

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

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

Loading…
Cancel
Save