mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Reformat code.
This commit is contained in:
@@ -40,33 +40,20 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class HAMMER_MBR
|
||||
{
|
||||
readonly string[] testfiles = {
|
||||
"dflybsd_3.6.1.vdi.lz","dflybsd_4.0.5.vdi.lz",
|
||||
};
|
||||
readonly string[] testfiles = {"dflybsd_3.6.1.vdi.lz", "dflybsd_4.0.5.vdi.lz",};
|
||||
|
||||
readonly ulong[] sectors = {
|
||||
104857600, 104857600,
|
||||
};
|
||||
readonly ulong[] sectors = {104857600, 104857600,};
|
||||
|
||||
readonly uint[] sectorsize = {
|
||||
512, 512,
|
||||
};
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
|
||||
readonly long[] clusters = {
|
||||
6310, 6310,
|
||||
};
|
||||
readonly long[] clusters = {6310, 6310,};
|
||||
|
||||
readonly int[] clustersize = {
|
||||
8388608, 8388608,
|
||||
};
|
||||
readonly int[] clustersize = {8388608, 8388608,};
|
||||
|
||||
readonly string[] volumename = {
|
||||
"Volume label", "Volume label",
|
||||
};
|
||||
readonly string[] volumename = {"Volume label", "Volume label",};
|
||||
|
||||
readonly string[] volumeserial = {
|
||||
"f8e1a8bb-626d-11e7-94b5-0900274691e4","ff4dc664-6276-11e7-983f-090027c41b46",
|
||||
};
|
||||
readonly string[] volumeserial =
|
||||
{"f8e1a8bb-626d-11e7-94b5-0900274691e4", "ff4dc664-6276-11e7-983f-090027c41b46",};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
@@ -91,6 +78,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Assert.AreNotEqual(-1, part, string.Format("Partition not found on {0}", testfiles[i]));
|
||||
Assert.AreEqual(true, fs.Identify(image, partitions[part]), testfiles[i]);
|
||||
fs.GetInformation(image, partitions[part], out string information);
|
||||
@@ -102,4 +90,4 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user