mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add test for contents of CPCDSK disk images.
This commit is contained in:
@@ -48,7 +48,15 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "ee601c0d2beade20bb5c04b3f5800ff6"
|
||||
MD5 = "ee601c0d2beade20bb5c04b3f5800ff6",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 360
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -56,7 +64,15 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "ee601c0d2beade20bb5c04b3f5800ff6"
|
||||
MD5 = "ee601c0d2beade20bb5c04b3f5800ff6",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 360
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -64,7 +80,15 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "dcb039b3b2ff2d6bdef8bf6c13ef3f83"
|
||||
MD5 = "dcb039b3b2ff2d6bdef8bf6c13ef3f83",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 360
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -72,8 +96,17 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "dcb039b3b2ff2d6bdef8bf6c13ef3f83"
|
||||
MD5 = "dcb039b3b2ff2d6bdef8bf6c13ef3f83",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 360
|
||||
}
|
||||
}
|
||||
},
|
||||
/* TODO: Does not open
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "3D Construction Kit (1991)(Domark).dsk.lz",
|
||||
@@ -82,13 +115,21 @@ namespace Aaru.Tests.Images
|
||||
SectorSize = 512,
|
||||
MD5 = "e1b14e9b744b08a1b2b56fa25f034682"
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
*/ new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "3D Construction Kit (1991)(Domark)[Objects Disk].dsk.lz",
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 387,
|
||||
SectorSize = 512,
|
||||
MD5 = "82007217a3aa6bb91468b71a6dc4bfe5"
|
||||
MD5 = "82007217a3aa6bb91468b71a6dc4bfe5",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 387
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -96,7 +137,15 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "acd60bb0119e0b5aa1790bef344211ac"
|
||||
MD5 = "acd60bb0119e0b5aa1790bef344211ac",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 360
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -104,7 +153,15 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "0330956c2fe38f278d7cba6f7bd8aa2d"
|
||||
MD5 = "0330956c2fe38f278d7cba6f7bd8aa2d",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 360
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -120,7 +177,15 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "5dc0d482a773043d8683a84c8220df95"
|
||||
MD5 = "5dc0d482a773043d8683a84c8220df95",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 360
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -128,7 +193,15 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "64edd62fabb381ef49bf3a8f43435824"
|
||||
MD5 = "64edd62fabb381ef49bf3a8f43435824",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 360
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -136,7 +209,15 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "b381bbc72ab664d658ddd5898c7ff266"
|
||||
MD5 = "b381bbc72ab664d658ddd5898c7ff266",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 360
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -144,7 +225,15 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "ad43345ac469844465da6d73369cc6b1"
|
||||
MD5 = "ad43345ac469844465da6d73369cc6b1",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 360
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -152,7 +241,15 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "AAAAAA"
|
||||
MD5 = "6e4ab38fcc5dc2d8173173dcbf8ca2e1",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 360
|
||||
}
|
||||
}
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
@@ -160,15 +257,23 @@ namespace Aaru.Tests.Images
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
SectorSize = 512,
|
||||
MD5 = "AAAAAA"
|
||||
MD5 = "37cfac07eb636ca8181878a06101a955"
|
||||
},
|
||||
new BlockImageTestExpected
|
||||
{
|
||||
TestFile = "z88dk_pcw80.dsk.lz",
|
||||
MediaType = MediaType.CompactFloppy,
|
||||
Sectors = 360,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
MD5 = "AAAAAA"
|
||||
MD5 = "17b79ecfd045d1d5d3526b182b32064a",
|
||||
Partitions = new[]
|
||||
{
|
||||
new BlockPartitionVolumes
|
||||
{
|
||||
Start = 0,
|
||||
Length = 1440
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user