SharpCompress/tests/SharpCompress.Test/Streams
copilot-swe-agent[bot] 88b3a66bf9 Fix Windows test failures in SharpCompressStreamTests
ArrayPool.Rent() can return buffers larger than requested. The tests were using test.Length (the actual buffer size) instead of the requested size (0x1000), causing failures on Windows where ArrayPool returns larger buffers than on Linux.

Fixed by:
- Using explicit size (0x1000) instead of test.Length in Read() calls
- Using test.Take(0x1000) instead of test when comparing arrays

Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
2025-10-29 13:40:44 +00:00
..
LzmaStreamTests.cs Update dependencies and csharpier 2025-10-13 10:40:43 +01:00
RewindableStreamTest.cs Added IStreamStack for debugging and configurable buffer management. Added SharpCompressStream to consolodate streams to help simplify debugging. All unit tests passing. 2025-07-20 17:35:22 +01:00
SharpCompressStreamAsyncTests.cs add async tests for compress stream 2025-10-29 13:23:50 +00:00
SharpCompressStreamTest.cs Fix Windows test failures in SharpCompressStreamTests 2025-10-29 13:40:44 +00:00
ZlibBaseStreamTests.cs Added IStreamStack for debugging and configurable buffer management. Added SharpCompressStream to consolodate streams to help simplify debugging. All unit tests passing. 2025-07-20 17:35:22 +01:00