public void IsZip64_WithEmptyZip64_ReturnsTrue() { using (var test = new SignedPackageArchiveUtilityTest(GetResource("EmptyZip64.zip"))) { var isZip64 = SignedPackageArchiveUtility.IsZip64(test.Reader); Assert.True(isZip64); } }
public void IsZip64_WithCentralDirectoryHeaderWithZip64ExtraField_ReturnsTrue() { using (var test = new SignedPackageArchiveUtilityTest(GetResource("CentralDirectoryHeaderWithZip64ExtraField.zip"))) { var isZip64 = SignedPackageArchiveUtility.IsZip64(test.Reader); Assert.True(isZip64); } }
public void IsZip64_WithNonEmptyZip_ReturnsFalse() { using (var test = new SignedPackageArchiveUtilityTest(GetNonEmptyZip())) { var isZip64 = SignedPackageArchiveUtility.IsZip64(test.Reader); Assert.False(isZip64); } }