mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Refactor] Use collection expressions.
This commit is contained in:
@@ -38,30 +38,12 @@ namespace Aaru.Tests.Checksums;
|
||||
[TestFixture]
|
||||
public class Crc64
|
||||
{
|
||||
static readonly byte[] _expectedEmpty =
|
||||
{
|
||||
0x60, 0x6b, 0x70, 0xa2, 0x3e, 0xba, 0xf6, 0xc2
|
||||
};
|
||||
static readonly byte[] _expectedRandom =
|
||||
{
|
||||
0xbf, 0x09, 0x99, 0x2c, 0xc5, 0xed, 0xe3, 0x8e
|
||||
};
|
||||
static readonly byte[] _expectedRandom15 =
|
||||
{
|
||||
0x79, 0x7F, 0x37, 0x66, 0xFD, 0x93, 0x97, 0x5B
|
||||
};
|
||||
static readonly byte[] _expectedRandom31 =
|
||||
{
|
||||
0xCD, 0x92, 0x01, 0x90, 0x5A, 0x79, 0x37, 0xFD
|
||||
};
|
||||
static readonly byte[] _expectedRandom63 =
|
||||
{
|
||||
0x29, 0xF3, 0x31, 0xFC, 0x90, 0x70, 0x2B, 0xF4
|
||||
};
|
||||
static readonly byte[] _expectedRandom2352 =
|
||||
{
|
||||
0x12, 0x64, 0x35, 0xDB, 0x43, 0x47, 0x76, 0x23
|
||||
};
|
||||
static readonly byte[] _expectedEmpty = [0x60, 0x6b, 0x70, 0xa2, 0x3e, 0xba, 0xf6, 0xc2];
|
||||
static readonly byte[] _expectedRandom = [0xbf, 0x09, 0x99, 0x2c, 0xc5, 0xed, 0xe3, 0x8e];
|
||||
static readonly byte[] _expectedRandom15 = [0x79, 0x7F, 0x37, 0x66, 0xFD, 0x93, 0x97, 0x5B];
|
||||
static readonly byte[] _expectedRandom31 = [0xCD, 0x92, 0x01, 0x90, 0x5A, 0x79, 0x37, 0xFD];
|
||||
static readonly byte[] _expectedRandom63 = [0x29, 0xF3, 0x31, 0xFC, 0x90, 0x70, 0x2B, 0xF4];
|
||||
static readonly byte[] _expectedRandom2352 = [0x12, 0x64, 0x35, 0xDB, 0x43, 0x47, 0x76, 0x23];
|
||||
|
||||
[Test]
|
||||
public void EmptyData()
|
||||
|
||||
Reference in New Issue
Block a user