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,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class SFS_RDB
|
||||
{
|
||||
readonly string[] testfiles = {
|
||||
"uae.vdi.lz","aros.vdi.lz","amigaos_4.0.vdi.lz","amigaos_4.0_sfs2.vdi.lz"
|
||||
};
|
||||
readonly string[] testfiles = {"uae.vdi.lz", "aros.vdi.lz", "amigaos_4.0.vdi.lz", "amigaos_4.0_sfs2.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {
|
||||
1024128,409600,1024128,1024128,
|
||||
};
|
||||
readonly ulong[] sectors = {1024128, 409600, 1024128, 1024128,};
|
||||
|
||||
readonly uint[] sectorsize = {
|
||||
512,512,512,512,
|
||||
};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512,};
|
||||
|
||||
readonly long[] clusters = {
|
||||
127000,407232,511040,511040,
|
||||
};
|
||||
readonly long[] clusters = {127000, 407232, 511040, 511040,};
|
||||
|
||||
readonly int[] clustersize = {
|
||||
2048,512,1024,1024,
|
||||
};
|
||||
readonly int[] clustersize = {2048, 512, 1024, 1024,};
|
||||
|
||||
readonly string[] volumename = {
|
||||
null,null,null,null,
|
||||
};
|
||||
readonly string[] volumename = {null, null, null, null,};
|
||||
|
||||
readonly string[] volumeserial = {
|
||||
null,null,null,null,
|
||||
};
|
||||
readonly string[] volumeserial = {null, null, null, null,};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
@@ -91,6 +77,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 +89,4 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user