mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add test for contents of HxC disk images.
This commit is contained in:
@@ -89,7 +89,15 @@ namespace Aaru.Tests.Images.HxC
|
||||
MediaType = MediaType.NEC_35_HD_8,
|
||||
Sectors = 1232,
|
||||
SectorSize = 1024,
|
||||
MD5 = "fd54916f713d01b670c1a5df5e74a97f"
|
||||
MD5 = "fd54916f713d01b670c1a5df5e74a97f",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 1232
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -137,7 +145,15 @@ namespace Aaru.Tests.Images.HxC
|
||||
MediaType = MediaType.CBM_35_DD,
|
||||
Sectors = 1600,
|
||||
SectorSize = 512,
|
||||
MD5 = "c533488a21098a62c85f1649abda2803"
|
||||
MD5 = "c533488a21098a62c85f1649abda2803",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 1600
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -153,7 +169,15 @@ namespace Aaru.Tests.Images.HxC
|
||||
MediaType = MediaType.FDFORMAT_35_DD,
|
||||
Sectors = 1640,
|
||||
SectorSize = 512,
|
||||
MD5 = "456390a9c6ab05cb458a03c47296de08"
|
||||
MD5 = "456390a9c6ab05cb458a03c47296de08",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 1640
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -161,7 +185,15 @@ namespace Aaru.Tests.Images.HxC
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
MD5 = "de3f85896f771b7e5bc4c9e3926d64e4"
|
||||
MD5 = "de3f85896f771b7e5bc4c9e3926d64e4",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 1440
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -193,7 +225,15 @@ namespace Aaru.Tests.Images.HxC
|
||||
MediaType = MediaType.Unknown,
|
||||
Sectors = 3372,
|
||||
SectorSize = 512,
|
||||
MD5 = "7f9164dc43bffc895db751ba1d9b55a9"
|
||||
MD5 = "7f9164dc43bffc895db751ba1d9b55a9",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 3372
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -209,7 +249,15 @@ namespace Aaru.Tests.Images.HxC
|
||||
MediaType = MediaType.Unknown,
|
||||
Sectors = 3486,
|
||||
SectorSize = 512,
|
||||
MD5 = "dbd52e9e684f97d9e2292811242bb24e"
|
||||
MD5 = "dbd52e9e684f97d9e2292811242bb24e",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 3486
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -218,6 +266,16 @@ namespace Aaru.Tests.Images.HxC
|
||||
Sectors = 2882,
|
||||
SectorSize = 2048,
|
||||
MD5 = "f5fff7704fb677ebf23d27cd937c9403"
|
||||
/* TODO: Division by zero because bytes per cluster is 0
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 2882
|
||||
}
|
||||
}
|
||||
*/
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -233,8 +291,17 @@ namespace Aaru.Tests.Images.HxC
|
||||
MediaType = MediaType.RX50,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
MD5 = "ccd4431139755c58f340681f63510642"
|
||||
},
|
||||
MD5 = "ccd4431139755c58f340681f63510642",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 800
|
||||
}
|
||||
}
|
||||
}
|
||||
/* TODO: Sector type 119 is not implemented
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "mf2hd_xdf.imd.lz",
|
||||
@@ -251,6 +318,7 @@ namespace Aaru.Tests.Images.HxC
|
||||
SectorSize = 0,
|
||||
MD5 = "UNKNOWN"
|
||||
}
|
||||
*/
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user