|
|
@ -22,7 +22,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Tiff |
|
|
{ |
|
|
{ |
|
|
byte[] buffer = new byte[data.Length]; |
|
|
byte[] buffer = new byte[data.Length]; |
|
|
|
|
|
|
|
|
new LzwTiffCompression(null).Decompress(stream, (int)stream.Length, buffer); |
|
|
new LzwTiffCompression(Configuration.Default.MemoryAllocator).Decompress(stream, (int)stream.Length, buffer); |
|
|
|
|
|
|
|
|
Assert.Equal(data, buffer); |
|
|
Assert.Equal(data, buffer); |
|
|
} |
|
|
} |
|
|
|