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:
@@ -39,24 +39,60 @@ namespace DiscImageChef.Tests.Partitions
|
||||
[TestFixture]
|
||||
public class Acorn
|
||||
{
|
||||
readonly string[] testfiles = {
|
||||
"linux_ics.vdi.lz",
|
||||
};
|
||||
readonly string[] testfiles = {"linux_ics.vdi.lz",};
|
||||
|
||||
readonly Partition[][] wanted = {
|
||||
readonly Partition[][] wanted =
|
||||
{
|
||||
// Linux (ICS)
|
||||
// TODO: Values are incorrect
|
||||
new []{
|
||||
new Partition{ Description = null, Size = 31457280, Name = null, Type = "GEM", Offset = 512, Length = 61440,
|
||||
Sequence = 0, Start = 1 },
|
||||
new Partition{ Description = null, Size = 41943040, Name = null, Type = "BGM", Offset = 31457792, Length = 81920,
|
||||
Sequence = 1, Start = 61441 },
|
||||
new Partition{ Description = null, Size = 56402432, Name = null, Type = "LNX", Offset = 73400832, Length = 110161,
|
||||
Sequence = 2, Start = 143361 },
|
||||
new Partition{ Description = null, Size = 43212800, Name = null, Type = "MAC", Offset = 129803264, Length = 84400,
|
||||
Sequence = 3, Start = 253522 },
|
||||
new[]
|
||||
{
|
||||
new Partition
|
||||
{
|
||||
Description = null,
|
||||
Size = 31457280,
|
||||
Name = null,
|
||||
Type = "GEM",
|
||||
Offset = 512,
|
||||
Length = 61440,
|
||||
Sequence = 0,
|
||||
Start = 1
|
||||
},
|
||||
new Partition
|
||||
{
|
||||
Description = null,
|
||||
Size = 41943040,
|
||||
Name = null,
|
||||
Type = "BGM",
|
||||
Offset = 31457792,
|
||||
Length = 81920,
|
||||
Sequence = 1,
|
||||
Start = 61441
|
||||
},
|
||||
new Partition
|
||||
{
|
||||
Description = null,
|
||||
Size = 56402432,
|
||||
Name = null,
|
||||
Type = "LNX",
|
||||
Offset = 73400832,
|
||||
Length = 110161,
|
||||
Sequence = 2,
|
||||
Start = 143361
|
||||
},
|
||||
new Partition
|
||||
{
|
||||
Description = null,
|
||||
Size = 43212800,
|
||||
Name = null,
|
||||
Type = "MAC",
|
||||
Offset = 129803264,
|
||||
Length = 84400,
|
||||
Sequence = 3,
|
||||
Start = 253522
|
||||
},
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
@@ -85,4 +121,4 @@ namespace DiscImageChef.Tests.Partitions
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user