Anton Firszov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
tests/ImageSharp.Tests/Image/LargeImageIntegrationTests.cs
|
|
@ -37,7 +37,7 @@ namespace SixLabors.ImageSharp.Tests |
|
|
|
|
|
|
|
|
using var image = new Image<Rgba32>(configuration, 2048, 2048); |
|
|
using var image = new Image<Rgba32>(configuration, 2048, 2048); |
|
|
Assert.True(image.DangerousTryGetSinglePixelMemory(out Memory<Rgba32> mem)); |
|
|
Assert.True(image.DangerousTryGetSinglePixelMemory(out Memory<Rgba32> mem)); |
|
|
Assert.Equal(8192 * 4096, mem.Length); |
|
|
Assert.Equal(2048 * 2048, mem.Length); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|