2025-11-25 14:44:03 +00:00
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using SharpCompress.Common;
|
|
|
|
|
using Xunit;
|
|
|
|
|
|
|
|
|
|
namespace SharpCompress.Test.Arc;
|
|
|
|
|
|
|
|
|
|
public class ArcReaderAsyncTests : ReaderTests
|
|
|
|
|
{
|
|
|
|
|
public ArcReaderAsyncTests()
|
|
|
|
|
{
|
|
|
|
|
UseExtensionInsteadOfNameToVerify = true;
|
|
|
|
|
UseCaseInsensitiveToVerify = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Fact]
|
2026-01-08 12:35:12 +00:00
|
|
|
public async ValueTask Arc_Uncompressed_Read_Async() =>
|
2025-11-25 14:44:03 +00:00
|
|
|
await ReadAsync("Arc.uncompressed.arc", CompressionType.None);
|
|
|
|
|
|
|
|
|
|
[Fact]
|
2026-01-08 12:35:12 +00:00
|
|
|
public async ValueTask Arc_Squeezed_Read_Async() => await ReadAsync("Arc.squeezed.arc");
|
2025-11-25 14:44:03 +00:00
|
|
|
|
|
|
|
|
[Fact]
|
2026-01-08 12:35:12 +00:00
|
|
|
public async ValueTask Arc_Crunched_Read_Async() => await ReadAsync("Arc.crunched.arc");
|
2025-11-25 14:44:03 +00:00
|
|
|
}
|