Browse Source

fix my bug in Encode_WorksWithDiscontiguousBuffers

af/octree-no-pixelmap
Anton Firszov 6 years ago
parent
commit
13fe3f7e30
  1. 2
      tests/ImageSharp.Tests/Formats/Bmp/BmpEncoderTests.cs

2
tests/ImageSharp.Tests/Formats/Bmp/BmpEncoderTests.cs

@ -246,7 +246,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Bmp
public void Encode_WorksWithDiscontiguousBuffers<TPixel>(TestImageProvider<TPixel> provider, BmpBitsPerPixel bitsPerPixel)
where TPixel : struct, IPixel<TPixel>
{
provider.LimitAllocatorBufferCapacity();
provider.LimitAllocatorBufferCapacity().InBytes(100);
TestBmpEncoderCore(provider, bitsPerPixel);
}

Loading…
Cancel
Save