REFACTOR: Reformat code.

This commit is contained in:
2017-12-19 20:33:03 +00:00
parent 77edc7c91c
commit e6f6ace80b
704 changed files with 82627 additions and 83641 deletions

View File

@@ -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
}
}
}
}
}