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:
@@ -44,8 +44,8 @@ public class UDCO : BlockMediaImageTest
|
||||
|
||||
public override IMediaImage Plugin => new Udif();
|
||||
|
||||
public override BlockImageTestExpected[] Tests => new[]
|
||||
{
|
||||
public override BlockImageTestExpected[] Tests =>
|
||||
[
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "DC6_UDCO_DOS_1440.dmg",
|
||||
@@ -53,14 +53,14 @@ public class UDCO : BlockMediaImageTest
|
||||
Sectors = 2884,
|
||||
SectorSize = 512,
|
||||
Md5 = "4306922864c6cf40a419fd5876b5879d",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 4,
|
||||
Length = 2880
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -146,5 +146,5 @@ public class UDCO : BlockMediaImageTest
|
||||
SectorSize = 512,
|
||||
Md5 = "e7b1de07a1f402e4663c3dee4fd3d6fe"
|
||||
}
|
||||
};
|
||||
];
|
||||
}
|
||||
@@ -44,8 +44,8 @@ public class UDCo_obsolete : BlockMediaImageTest
|
||||
|
||||
public override IMediaImage Plugin => new Udif();
|
||||
|
||||
public override BlockImageTestExpected[] Tests => new[]
|
||||
{
|
||||
public override BlockImageTestExpected[] Tests =>
|
||||
[
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "DC6_UDCo_DOS_1440.dmg",
|
||||
@@ -53,14 +53,14 @@ public class UDCo_obsolete : BlockMediaImageTest
|
||||
Sectors = 2884,
|
||||
SectorSize = 512,
|
||||
Md5 = "4306922864c6cf40a419fd5876b5879d",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 4,
|
||||
Length = 2880
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -146,5 +146,5 @@ public class UDCo_obsolete : BlockMediaImageTest
|
||||
SectorSize = 512,
|
||||
Md5 = "e7b1de07a1f402e4663c3dee4fd3d6fe"
|
||||
}
|
||||
};
|
||||
];
|
||||
}
|
||||
@@ -44,8 +44,8 @@ public class UDRAW : BlockMediaImageTest
|
||||
|
||||
public override IMediaImage Plugin => new Udif();
|
||||
|
||||
public override BlockImageTestExpected[] Tests => new[]
|
||||
{
|
||||
public override BlockImageTestExpected[] Tests =>
|
||||
[
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "DC6_UDRAW_DOS_1440.dmg",
|
||||
@@ -53,14 +53,14 @@ public class UDRAW : BlockMediaImageTest
|
||||
Sectors = 2884,
|
||||
SectorSize = 512,
|
||||
Md5 = "4306922864c6cf40a419fd5876b5879d",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 4,
|
||||
Length = 2880
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -146,5 +146,5 @@ public class UDRAW : BlockMediaImageTest
|
||||
SectorSize = 512,
|
||||
Md5 = "e7b1de07a1f402e4663c3dee4fd3d6fe"
|
||||
}
|
||||
};
|
||||
];
|
||||
}
|
||||
@@ -44,8 +44,8 @@ public class UDRO : BlockMediaImageTest
|
||||
|
||||
public override IMediaImage Plugin => new Udif();
|
||||
|
||||
public override BlockImageTestExpected[] Tests => new[]
|
||||
{
|
||||
public override BlockImageTestExpected[] Tests =>
|
||||
[
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "DC6_UDRO_DOS_1440.dmg",
|
||||
@@ -53,14 +53,14 @@ public class UDRO : BlockMediaImageTest
|
||||
Sectors = 2884,
|
||||
SectorSize = 512,
|
||||
Md5 = "4306922864c6cf40a419fd5876b5879d",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 4,
|
||||
Length = 2880
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -146,5 +146,5 @@ public class UDRO : BlockMediaImageTest
|
||||
SectorSize = 512,
|
||||
Md5 = "e7b1de07a1f402e4663c3dee4fd3d6fe"
|
||||
}
|
||||
};
|
||||
];
|
||||
}
|
||||
@@ -44,8 +44,8 @@ public class UDRo_obsolete : BlockMediaImageTest
|
||||
|
||||
public override IMediaImage Plugin => new Udif();
|
||||
|
||||
public override BlockImageTestExpected[] Tests => new[]
|
||||
{
|
||||
public override BlockImageTestExpected[] Tests =>
|
||||
[
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "DC6_UDRo_DOS_1440.dmg",
|
||||
@@ -53,14 +53,14 @@ public class UDRo_obsolete : BlockMediaImageTest
|
||||
Sectors = 2884,
|
||||
SectorSize = 512,
|
||||
Md5 = "4306922864c6cf40a419fd5876b5879d",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 4,
|
||||
Length = 2880
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -146,5 +146,5 @@ public class UDRo_obsolete : BlockMediaImageTest
|
||||
SectorSize = 512,
|
||||
Md5 = "e7b1de07a1f402e4663c3dee4fd3d6fe"
|
||||
}
|
||||
};
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user