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 ROCo : BlockMediaImageTest
|
||||
|
||||
public override IMediaImage Plugin => new Ndif();
|
||||
|
||||
public override BlockImageTestExpected[] Tests => new[]
|
||||
{
|
||||
public override BlockImageTestExpected[] Tests =>
|
||||
[
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "DOS_1440.img",
|
||||
@@ -53,14 +53,14 @@ public class ROCo : BlockMediaImageTest
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Md5 = "ff419213080574056ebd9adf7bab3d32",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 2880
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -69,14 +69,14 @@ public class ROCo : BlockMediaImageTest
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Md5 = "c2be571406cf6353269faa59a4a8c0a4",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 1440
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -85,14 +85,14 @@ public class ROCo : BlockMediaImageTest
|
||||
Sectors = 3360,
|
||||
SectorSize = 512,
|
||||
Md5 = "92ea7a359957012a682ba126cfdef0ce",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 3360
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -101,14 +101,14 @@ public class ROCo : BlockMediaImageTest
|
||||
Sectors = 10240,
|
||||
SectorSize = 512,
|
||||
Md5 = "df3b4331a4a5652393ff55f001998439",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 10240
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -206,5 +206,5 @@ public class ROCo : BlockMediaImageTest
|
||||
SectorSize = 512,
|
||||
Md5 = "cdfebf3f8b8f250dc6905a90dd1bc90f"
|
||||
}
|
||||
};
|
||||
];
|
||||
}
|
||||
@@ -42,8 +42,8 @@ public class RdWr : BlockMediaImageTest
|
||||
|
||||
public override IMediaImage Plugin => new Ndif();
|
||||
|
||||
public override BlockImageTestExpected[] Tests => new[]
|
||||
{
|
||||
public override BlockImageTestExpected[] Tests =>
|
||||
[
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "DOS_1440.img",
|
||||
@@ -51,14 +51,14 @@ public class RdWr : BlockMediaImageTest
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Md5 = "ff419213080574056ebd9adf7bab3d32",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 2880
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -67,14 +67,14 @@ public class RdWr : BlockMediaImageTest
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Md5 = "c2be571406cf6353269faa59a4a8c0a4",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 1440
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -83,14 +83,14 @@ public class RdWr : BlockMediaImageTest
|
||||
Sectors = 3360,
|
||||
SectorSize = 512,
|
||||
Md5 = "92ea7a359957012a682ba126cfdef0ce",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 3360
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -99,14 +99,14 @@ public class RdWr : BlockMediaImageTest
|
||||
Sectors = 10240,
|
||||
SectorSize = 512,
|
||||
Md5 = "df3b4331a4a5652393ff55f001998439",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 10240
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -204,5 +204,5 @@ public class RdWr : BlockMediaImageTest
|
||||
SectorSize = 512,
|
||||
Md5 = "cdfebf3f8b8f250dc6905a90dd1bc90f"
|
||||
}
|
||||
};
|
||||
];
|
||||
}
|
||||
@@ -42,8 +42,8 @@ public class Rdxx : BlockMediaImageTest
|
||||
|
||||
public override IMediaImage Plugin => new Ndif();
|
||||
|
||||
public override BlockImageTestExpected[] Tests => new[]
|
||||
{
|
||||
public override BlockImageTestExpected[] Tests =>
|
||||
[
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "DOS_1440.img",
|
||||
@@ -51,14 +51,14 @@ public class Rdxx : BlockMediaImageTest
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Md5 = "ff419213080574056ebd9adf7bab3d32",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 2880
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -67,14 +67,14 @@ public class Rdxx : BlockMediaImageTest
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Md5 = "c2be571406cf6353269faa59a4a8c0a4",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 1440
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -83,14 +83,14 @@ public class Rdxx : BlockMediaImageTest
|
||||
Sectors = 3360,
|
||||
SectorSize = 512,
|
||||
Md5 = "92ea7a359957012a682ba126cfdef0ce",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 3360
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -99,14 +99,14 @@ public class Rdxx : BlockMediaImageTest
|
||||
Sectors = 10240,
|
||||
SectorSize = 512,
|
||||
Md5 = "df3b4331a4a5652393ff55f001998439",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 10240
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -204,5 +204,5 @@ public class Rdxx : BlockMediaImageTest
|
||||
SectorSize = 512,
|
||||
Md5 = "cdfebf3f8b8f250dc6905a90dd1bc90f"
|
||||
}
|
||||
};
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user