mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Code cleanup.
This commit is contained in:
@@ -48,46 +48,46 @@ namespace DiscImageChef.Tests.Partitions
|
||||
new Partition
|
||||
{
|
||||
Description = null,
|
||||
Size = 268369408,
|
||||
Name = "MINIX",
|
||||
Type = "MINIX",
|
||||
Offset = 2064896,
|
||||
Length = 524159,
|
||||
Sequence = 0,
|
||||
Start = 4033
|
||||
Size = 268369408,
|
||||
Name = "MINIX",
|
||||
Type = "MINIX",
|
||||
Offset = 2064896,
|
||||
Length = 524159,
|
||||
Sequence = 0,
|
||||
Start = 4033
|
||||
},
|
||||
new Partition
|
||||
{
|
||||
Description = null,
|
||||
Size = 270434304,
|
||||
Name = "MINIX",
|
||||
Type = "MINIX",
|
||||
Offset = 270434304,
|
||||
Length = 528192,
|
||||
Sequence = 1,
|
||||
Start = 528192
|
||||
Size = 270434304,
|
||||
Name = "MINIX",
|
||||
Type = "MINIX",
|
||||
Offset = 270434304,
|
||||
Length = 528192,
|
||||
Sequence = 1,
|
||||
Start = 528192
|
||||
},
|
||||
new Partition
|
||||
{
|
||||
Description = null,
|
||||
Size = 270434304,
|
||||
Name = "MINIX",
|
||||
Type = "MINIX",
|
||||
Offset = 540868608,
|
||||
Length = 528192,
|
||||
Sequence = 2,
|
||||
Start = 1056384
|
||||
Size = 270434304,
|
||||
Name = "MINIX",
|
||||
Type = "MINIX",
|
||||
Offset = 540868608,
|
||||
Length = 528192,
|
||||
Sequence = 2,
|
||||
Start = 1056384
|
||||
},
|
||||
new Partition
|
||||
{
|
||||
Description = null,
|
||||
Size = 262176768,
|
||||
Name = "MINIX",
|
||||
Type = "MINIX",
|
||||
Offset = 811302912,
|
||||
Length = 512064,
|
||||
Sequence = 3,
|
||||
Start = 1584576
|
||||
Size = 262176768,
|
||||
Name = "MINIX",
|
||||
Type = "MINIX",
|
||||
Offset = 811302912,
|
||||
Length = 512064,
|
||||
Sequence = 3,
|
||||
Start = 1584576
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -97,8 +97,8 @@ namespace DiscImageChef.Tests.Partitions
|
||||
{
|
||||
for(int i = 0; i < testfiles.Length; i++)
|
||||
{
|
||||
string location = Path.Combine(Consts.TestFilesRoot, "partitions", "minix", testfiles[i]);
|
||||
IFilter filter = new LZip();
|
||||
string location = Path.Combine(Consts.TestFilesRoot, "partitions", "minix", testfiles[i]);
|
||||
IFilter filter = new LZip();
|
||||
filter.Open(location);
|
||||
IMediaImage image = new Vdi();
|
||||
Assert.AreEqual(true, image.Open(filter), testfiles[i]);
|
||||
@@ -110,11 +110,11 @@ namespace DiscImageChef.Tests.Partitions
|
||||
//Assert.AreEqual(wanted[i][j].PartitionDescription, partitions[j].PartitionDescription, testfiles[i]);
|
||||
Assert.AreEqual(wanted[i][j].Size, partitions[j].Size, testfiles[i]);
|
||||
// Assert.AreEqual(wanted[i][j].Name, partitions[j].Name, testfiles[i]);
|
||||
Assert.AreEqual(wanted[i][j].Type, partitions[j].Type, testfiles[i]);
|
||||
Assert.AreEqual(wanted[i][j].Offset, partitions[j].Offset, testfiles[i]);
|
||||
Assert.AreEqual(wanted[i][j].Length, partitions[j].Length, testfiles[i]);
|
||||
Assert.AreEqual(wanted[i][j].Type, partitions[j].Type, testfiles[i]);
|
||||
Assert.AreEqual(wanted[i][j].Offset, partitions[j].Offset, testfiles[i]);
|
||||
Assert.AreEqual(wanted[i][j].Length, partitions[j].Length, testfiles[i]);
|
||||
Assert.AreEqual(wanted[i][j].Sequence, partitions[j].Sequence, testfiles[i]);
|
||||
Assert.AreEqual(wanted[i][j].Start, partitions[j].Start, testfiles[i]);
|
||||
Assert.AreEqual(wanted[i][j].Start, partitions[j].Start, testfiles[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user