diff options
Diffstat (limited to 'vendor/maennchen/zipstream-php/test/Zip64/EndOfCentralDirectoryLocatorTest.php')
-rw-r--r-- | vendor/maennchen/zipstream-php/test/Zip64/EndOfCentralDirectoryLocatorTest.php | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/vendor/maennchen/zipstream-php/test/Zip64/EndOfCentralDirectoryLocatorTest.php b/vendor/maennchen/zipstream-php/test/Zip64/EndOfCentralDirectoryLocatorTest.php deleted file mode 100644 index 271a29862..000000000 --- a/vendor/maennchen/zipstream-php/test/Zip64/EndOfCentralDirectoryLocatorTest.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace ZipStream\Test\Zip64; - -use PHPUnit\Framework\TestCase; -use ZipStream\Zip64\EndOfCentralDirectoryLocator; - -class EndOfCentralDirectoryLocatorTest extends TestCase -{ - public function testSerializesCorrectly(): void - { - $descriptor = EndOfCentralDirectoryLocator::generate( - numberOfTheDiskWithZip64CentralDirectoryStart: 0x11111111, - zip64centralDirectoryStartOffsetOnDisk: (0x22222222 << 32) + 0x33333333, - totalNumberOfDisks: 0x44444444, - ); - - $this->assertSame( - bin2hex($descriptor), - '504b0607' . // 4 bytes; zip64 end of central dir locator signature - 0x07064b50 - '11111111' . // 4 bytes; number of the disk with the start of the zip64 end of central directory - '3333333322222222' . // 28 bytes; relative offset of the zip64 end of central directory record - '44444444' // 4 bytes;total number of disks - ); - } -} |